Answer the question
In order to leave comments, you need to log in
Why doesn't CNAME work on computers in a non-domain?
Hello.
There is a Windows domain (crb.local), DNS and DHCP server (everything is interconnected, I don’t know the details). There is also PC1 included in the domain and PC2 not entered into the domain.
The DNS server has an A record vt-cloud.crb.local and a CNAME maple.vt-cloud.crb.local.
From PC1:
C:\Users\Administrator>ping vt-cloud
Packet exchange with vt-cloud.crb.local [192.168.2.14] with 32 bytes of data:
Reply from 192.168.2.14: number of bytes=32 time<1ms TTL=64
...
C:\Users\Administrator>ping maple.vt-cloud
Packet exchange with maple.vt-cloud.crb.local [192.168.2.14] with 32 data bytes:
Response from 192.168.2.14: number of bytes=32 time<1ms TTL= 64
...
C:\Users\Administrator>ping vt-cloud
Packet exchange with vt-cloud.crb.local [192.168.2.14] with 32 bytes of data:
Reply from 192.168.2.14: number of bytes=32 time<1ms TTL=64
...
C:\Users\Administrator>ping maple.vt-cloud.crb.local Packet
exchange with vt-cloud.crb.local [192.168.2.14] with 32 data bytes:
Response from 192.168.2.14: bytes=32 time<1ms TTL=64
...
C:\Users\Administrator>ping maple.vt-cloud Ping
failed to locate host maple.vt-cloud.
Check the hostname and try again.
C:\Users\Administrator>nslookup maple.vt-cloud
╤хЁтхЁ: vt-virtualdc.crb.local
Address: 192.168.2.3
╚ь : vt-cloud.crb.local
Address: 192.168.2.14
Aliases: maple.vt-cloud.crb.local
Answer the question
In order to leave comments, you need to log in
This is called searchDomain or domain suffix search. That is, a PC in the domain has a domain suffix search and automatically adds it to all DNS queries. You can configure via DHCP, politicians, hands in the interface settings.
this is called the search suffix.
look in resolv.conf on a Linux machine, your domain is most likely entered in the search field there.
Windows also has this setting...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question