0

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

2
  • 1
    Your question title says "DNS name resolution not working", but your question relates to DNS registration. Which is it?
    – joeqwerty
    Dec 7, 2010 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. Dec 8, 2010 at 4:04

3 Answers 3

4

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

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.

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .