Problem with DHCP-enabled clients

Simon Hobson dhcp1 at
Sat Mar 31 08:49:28 UTC 2007

Phusion wrote:

>I am having a problem with DHCP-enabled clients on my test network.
>The servers are running on the domain while the DHCP-enabled
>clients are on the domain. The DHCP computers get
>domain names of The DNS server is named
> This server also runs the DHCP service. These
>computers are having problems pinging the computers on the
>- ping from to works
>- ping from to dns fails

Sounds like a normal dns problem, not a dhcp one.

When you ping your client resolves the address 
"" and gets an address.

When you ping "dns" the client is almost certainly resolving and not getting an address for it - so it fails.

Several ways around this :

1) Always use FQDN - it's the safest option anyway as it avoids any 
possibility of confusion.

2) Set the clients search options. Clients typically have one or both of :

a) a specific search list, so you could set and as the list and the client would try 

b) search parents of the clients domain, so again it would try when the first query failed.

3) Add a dns entry for your subdomain, so that 
resolves (CNAME for ?).

Depending on the client, you may or may not be able to set a domain 
search list via DHCP.

More information about the dhcp-users mailing list