Skip to main content
Tweeted twitter.com/super_user/status/680412513373188096
added 97 characters in body
Source Link
Noob
  • 1.6k
  • 5
  • 24
  • 40

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

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.

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

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

=======================================

Regards, Noob

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

Source Link
Noob
  • 1.6k
  • 5
  • 24
  • 40

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

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.

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

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

=======================================

Regards, Noob