S
S
Sinot2021-11-01 17:02:05
Domain Name System
Sinot, 2021-11-01 17:02:05

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
...


But on PC2:
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


That is, the address resolves through nslookup, but does not resolve when pinging (if *.crb.local is not specified). On a Linux machine without a domain, everything responds normally.

What could it be and where to dig?

Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Barbolin, 2021-11-01
@dronmaxman

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.

R
Ruslan Fedoseev, 2021-11-01
@martin74ua

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 question

Ask a Question

731 491 924 answers to any question