DHCP deletes the ddns entry at the first lease renewal

Simon Hobson dhcp1 at thehobsons.co.uk
Mon Apr 27 12:13:13 UTC 2009


Marco Bagni wrote:
>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.

Looks more like the DNS entries are added, then the client doesn't 
renew with this server, and it deletes the entries when the lease 
expires.

What device is at 192.168.21.5 - another DHCP server ?

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list