If the DNS name is not properly registered to the DNS server through DHCP server for linux machine, which fault is this ?

from the DHCP console it is blank with no hostname ?

alt text

If anyone know how to fix this, that be great.



  • 1
    Your question title says "DNS name resolution not working", but your question relates to DNS registration. Which is it? – joeqwerty Dec 7 '10 at 14:46
  • thanks for the reply Joe, it is regarding the DHCP assigned server IP addressing which not registering properly in my Windows Server 2003 x64 only for my Linux servers in which I already set the udpate to be dynamically update and Non secure as well. – Senior Systems Engineer Dec 8 '10 at 4:04

I would not call it fault because there are reasons for one or the other behavior.

In your case you should be able to adapt the dhclient config (IIRC /etc/dhcp/dhclient.conf) on your Debian machine.

You'll have to add a line like the one below

send host-name "wordpress2";
| improve this answer | |

There are two ways for DNS registration of DHCP leases to occur:

  • Server based: Most DHCP servers have support for registering leases via Dynamic DNS.
  • Client based: The DHCP server trusts that the client will register it's received IP via DNS.

Both are valid approaches, though the second one requires Dynamic DNS registration support on the part of the client.

In your case it's impossible to say who is doing the registering. One or the other is not registering the hostname of the machine that received the lease.

| improve this answer | |

As other posters say, it could be at either end.

One option is to use a lease reservation in the DHCP scope based the MAC address of the client machine. Create a static DNS entry for the reserved IP. Document why and how this is done, it will need to be recreated if the DHCP server changes or you need to add another host name.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.