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 Code Select
ee /var/db/dnsmasq.leasesto edit the leases manually. - ESC, save, restart DNSmasq
"