DHCP deletes the ddns entry at the first lease renewal

Marco Bagni m.bagni at marcobagni.com
Mon Apr 27 09:18:17 UTC 2009


Hi,

I am running a Debian system with DHCP3-server 3.0.4-13 and bind9
9.5.1.dfsg.P1-1.

My clients are all WinXP and so far everything has worked fine. Since some
days I am migrating to Knoppix 6.0.1 which uses dhcp3-client 3.1.1-6 and I
am experiencing the following problem:

When the Knoppix machine starts-up it receives an IP address and the name
resolution works fine but at the very first IP lease renewal request the
name resolution stops working since the DHCP removes the entries from the
names database.

Apr 27 09:44:13 rclinux dhcpd: DHCPOFFER on 192.168.21.148 to
00:22:15:d0:75:5b (rcknop02) via eth0
Apr 27 09:44:13 rclinux named[15678]: client 127.0.0.1#38359: updating
zone 'local.ongrc.org/IN': adding an RR at 'rcknop02.local.ongrc.org' A
Apr 27 09:44:13 rclinux named[15678]: client 127.0.0.1#38359: updating
zone 'local.ongrc.org/IN': adding an RR at 'rcknop02.local.ongrc.org' TXT
Apr 27 09:44:13 rclinux dhcpd: Added new forward map from
rcknop02.local.ongrc.org. to 192.168.21.148
Apr 27 09:44:13 rclinux dhcpd: added reverse map from
148.21.168.192.in-addr.arpa. to rcknop02.local.ongrc.org.
Apr 27 09:44:13 rclinux dhcpd: DHCPREQUEST for 192.168.21.148
(192.168.21.5) from 00:22:15:d0:75:5b (rcknop02) via eth0
Apr 27 09:44:13 rclinux dhcpd: DHCPACK on 192.168.21.148 to
00:22:15:d0:75:5b (rcknop02) via eth0
Apr 27 09:54:13 rclinux dhcpd: if rcknop02.local.ongrc.org. IN TXT
"00d2c3f1ffdab7e257493cb7914ec3c8e4" rrset exists and
rcknop02.local.ongrc.org. IN A 192.168.21.148 rrset exists delete
rcknop02.local.ongrc.org. IN A 192.168.21.148: success.
Apr 27 09:54:13 rclinux dhcpd: if rcknop02.local.ongrc.org. IN A rrset
doesn't exist delete rcknop02.local.ongrc.org. IN TXT
"00d2c3f1ffdab7e257493cb7914ec3c8e4": success.
Apr 27 09:55:18 rclinux dhcpd: if rcknop05.local.ongrc.org. IN TXT
"00a8a27cb7ee81b29c35c8c0e720798dfa" rrset exists and
rcknop05.local.ongrc.org. IN A 192.168.21.40 rrset exists delete
rcknop05.local.ongrc.org. IN A 192.168.21.40: success.
Apr 27 09:55:18 rclinux dhcpd: if rcknop05.local.ongrc.org. IN A rrset
doesn't exist delete rcknop05.local.ongrc.org. IN TXT
"00a8a27cb7ee81b29c35c8c0e720798dfa": success.

Unfortunately it seems that the client does not renew its IP address
anymore (the lease time is 600 seconds) so it remains unreachable through
its name.

On the contrary the Windows clients have their lease renewed without any
problem and continue polling the dhcp server every 10 minutes as
configured.

Is anyone that has already faced and solved this problem?

Thanks

Marco Bagni






More information about the dhcp-users mailing list