when is a DHCP server supposed to remove A and PTR records?

Marc Haber mh+dhcp-users at zugschlus.de
Fri Jul 10 18:41:58 UTC 2015


Solved.

On Wed, Jul 08, 2015 at 11:30:33PM +0200, Marc Haber wrote:
> On Wed, Jul 08, 2015 at 10:24:13PM +0200, Marc Haber wrote:
> > On Wed, Jul 08, 2015 at 06:36:40PM +0100, Simon Hobson wrote:
> > > > Under which circumstances is the server supposed to remove the DNS
> > > > records? From the docks, I reckon that it should remove them when the
> > > > lease expires. According to the logs of the DNS server, it doesn't,
> > > > though.
> > > 
> > > It should remove them at the end of the lease.
> > 
> > For some reason, it doesn't. Any idea how to debug this?
> 
> Additional information: I reconfigured the test VM to have a different
> MAC address, but the same hostname. When that VM booted, the DHCP
> server removed the A and PTR for the old IP address, assigned a new
> one and correctly entered the A and PTR for the new IP address.
> 
> I have since then turned off the test VM, and intend to keep it off
> until the lease expires.

Ths issue is that the grml I was using started its own dhcp client
because I forgot to tell it to not do this on the boot command line.
Hence, the lease got renewed despite my dhclient -r which only
terminated the dhclient I manually started on the command line.

After cleaning this up, the DNS entries get removed alright after the
lease expires.

Now the only issue left is - see the other thread - to get the
dhclient to actually send out a DHCPRELEASE.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


More information about the dhcp-users mailing list