Windows – how will DNS work under this circumstance (when no domain name specified)

dnsipnetworkingwindowswindows 7

Supposingly there is a host/server in the network with FQDN as "host1.example.com"

Can i know what will happen when i on another workstation, do a
"ping host1" assuming that host1 is not recorded in my "/etc/hosts" file.

q1) Will my workstation still try to resolve "host1" by sending a dns query to the DNS server (e.g. 192.168.1.1) ?

q2) In the DNS server, will this query be accepted ? or fall into/being look up in any default zone (e.g example.com) ?

Is there anyway that i can configure my DNS server to have a default zone that is being lookup for unqualified name (e.g. host1)

Regards,
Noob

Best Answer

q1) Will my workstation still try to resolve "host1" by sending a dns query to the DNS server (e.g. 192.168.1.1) ?

host1 is a NetBIOS entry but not a DNS entry, DNS entry should have a doamin and a extension parameters.

q2) In the DNS server, will this query be accepted ? or fall into/being look up in any default zone (e.g example.com) ?

If DNS server gets NetBIOS request usually this will fail because it don't have a extension.

Is there anyway that i can configure my DNS server to have a default zone that is being lookup for unqualified name (e.g. host1)

On internet connection settings you can configure DNS suffix, hence host1 will be auto suffexed with the domain.local before this reach DNS server.

Hence DNS server should receive this as host1.domain.local --> this will solve the issue.

Related Question