Old DHCP lease hanging around in DNS
-
An old DHCP lease DNS entry seems to be stuck in unbound. At one point a laptop was assigned 192.168.10.233, but wasn't connected to the network for a few weeks. Today it was assigned a different address (.190) but unbound still has the old mapping in
/var/unbound/dhcpleases_entries.conf
.I tried restarting the DHCP and DNS services with no effect. What's the proper way to get DHCP and DNS back in sync? (I'm still on isc-dhcp).
-
@jhg show all your leases and delete the old one..
Normally registering dhcp is not a great choice because every time there is a dhcp event unbound has to restart.. Hopefully this will finally get put to bed once kea is fully operational, ie not preview.
But to get rid of the old entry delete the old lease.
At the bottom of your leases, click the show all.. Then delete the old unused lease..
-
@johnpoz Thanks for the reply. The issue seems to have resolved itself overnight, everything's in sync now.