ddns : client 127.0.0.1 updating zone : update failed: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Hello,
I am somewhat new to the dhcp/dns combination so I hope you can help me a bit
with something that I don't understand.
I have a server (named "server" - those of you who know the German "C't"
magazine know the "C't debian server" distribution ) that serves dhcp and dns.
So the clients ask dhcp for an IP address and tells dhcp to add their hostname
to the dns. When a client asks for a hostname, dns knows the IP and can tell it
to the clients. Am I right so far ?
OK, now my problem is this:
One client that I would like to name eddie is allmost never assigned the
correct ip address in dns:
markus@Eddie: > nslookup eddie
Server: 192.168.1.2
Address: 192.168.1.2#53
Name: eddie.zuhause.xx
Address: 192.168.1.80
Eddie: # ifconfig
eth0 Protokoll:Ethernet Hardware Adresse 00:10:4B:BB:98:95
inet Adresse:192.168.1.75 Bcast:0.0.0.0 Maske:255.255.0.0
Hmm :(
I understand, that dns still has the assignment eddie==192.168.1.80. Even if
dhcp tells it "192.168.1.75 wants to be named eddie", dns says "But eddie has
already the ip 192.168.1.80". So dhcp doesn't update the name. At least I read
this from the error message:
ddns : client 127.0.0.1 updating zone : update failed: 'name not in use'
prerequisite not satisfied (YXDOMAIN)
But what goes wrong here ? Shouldn't dhcp tell dns that 192.168.1.80 isn't
valid any more when it assigns 192.168.1.75 to eddie ?
What do I have to do to get it working correctly ?
N.B.: I have another client, "zaphod" that doesn't have this problem...
TIA
--
Markus Grunwald
Registered Linux User Nr 101577 gpg/pgp fingerprint: 7E01F5FE15CEDD0A
http://counter.li.org (gpg --recv-keys 7E01F5FE15CEDD0A)
icq 314331831
Reply to: