DHCP deletes the ddns entry at the first lease renewal

Marco Bagni m.bagni at marcobagni.com
Mon Apr 27 13:33:24 UTC 2009


Hi Simon,

The 192.168.21.5 is the DHCP server (and also the BIND server and the
default GW) your hypothesis is something that I also evaluated and I
suspect is the REAL reason for this odd behaviour.

Have you any idea why the dhclient daemon does not renew the IP lease
before it expires?

I have kept the original configuration and added only the machine name:

dhclient.conf:

option rfc3442-classless-static-routes code 121 = array of unsigned
integer 8;

send host-name "rcknop02";
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, domain-search, host-name,
        netbios-name-servers, netbios-scope, interface-mtu,
        rfc3442-classless-static-routes;

Am I doing something wrong?

Thank you for your help.

Marco Bagni




On Mon, April 27, 2009 2:13 pm, Simon Hobson wrote:
> 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.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>


-- 

ICT & GIS Senior Specialist
Phone: +39 06 3751 5913
Mobile: +39 380 709 5502
Phone: +1 904 807 7866




More information about the dhcp-users mailing list