Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

Cheers,

Albert

share|improve this question
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. –  Albert Widjaja Dec 8 '10 at 4:04
add comment

3 Answers

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";

HTH Marcel

share|improve this answer
add comment

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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