Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Lecso11

#1
26.7, 26.10 Series / Re: How to remove stuck DHCP lease
October 13, 2026, 12:53:04 PM
Quote from: julsssark on October 13, 2026, 03:34:07 AMI ran into this last week when I rebuilt some VMs. I use DNSmasq and my understanding is that there is no clean way to remove a lease. My leases did not have dates in the past and all I needed to do was wait a day.

See here for a recent thread on this topic and why it requires an upstream solution: https://github.com/opnsense/core/issues/9747


Based on the github issue thread I solved it.
Thanks.
  • Stop DNSmasq service on the webui
  • SSH into OPNsense.
  • Go into shell
  • Use
    ee /var/db/dnsmasq.leases to edit the leases manually.
  • ESC, save, restart DNSmasq
#2
26.7, 26.10 Series / How to remove stuck DHCP lease
October 12, 2026, 03:07:57 PM
I have defined a few static leases for devices I always want on the same address. However after upgrading these devices I cannot release the old lease reserved for the old MAC address. These leases have the epxiration date of 1970-01-01 01:00:00.
How can I delete these entries?