Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Old DHCP lease hanging around in DNS

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 148 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jhg
      last edited by

      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).

      pfSense CE on Beelink EQ12 (N100 CPU, dual 2.5Gbe Intel NICs)
      Hitron CODA56 - Comcast 2.5Gb cable

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @jhg
        last edited by

        @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..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        J 1 Reply Last reply Reply Quote 0
        • J
          jhg @johnpoz
          last edited by

          @johnpoz Thanks for the reply. The issue seems to have resolved itself overnight, everything's in sync now.

          pfSense CE on Beelink EQ12 (N100 CPU, dual 2.5Gbe Intel NICs)
          Hitron CODA56 - Comcast 2.5Gb cable

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.