In my machine with windows OS installed, under system information, there are 3 pieces of information, namely, computer name : desktop-1, full computer name : desktop-1.d1.d2.d3 and domain: d1.d2.d3
When i try to ping this machine, "ping desktop-1", from another machine in the same network, ping automatically redirects/tries to ping desktop-1.d1.d2.d3
C:\Users>ping desktop-1 Pinging desktop-1.d1.d2.d3 [xx.xx.xx.xx] with 32 bytes of data:
With respect to this, i need some clarifications:
How does ping convert hostname to fully qualified domain name(FQDN)? Does it read the "Domain" field value from the OS and automatically attach desktop name with domain name and then ask the DNS server to find the ip of this FQDN?
Suppose if the "Domain" field is not configured, then how does ping find the ip of the hostname?
In other OS'es, like linux, where are these information configured?
Thanks in advance!