OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: spetrillo on December 22, 2025, 03:59:22 PM

Title: DNSmasq DHCP Problem?
Post by: spetrillo on December 22, 2025, 03:59:22 PM
Morning all,

I am using dnsmasq as my default DHCP server. I have two DHCP entries that do not seem to want to clear from my leases. Attached is the screenshot. You will see 192.168.1.68 and 192.168.1.78. Both VMs do not exist but I cannot seem to clear them. How can I fix this?

Thanks,
Steve
Title: Re: DNSmasq DHCP Problem?
Post by: Patrick M. Hausen on December 22, 2025, 04:07:53 PM
They will be removed automatically once they expire.
Title: Re: DNSmasq DHCP Problem?
Post by: spetrillo on December 22, 2025, 04:14:36 PM
So I just have to change the TTL?

I set the TTL to 86400 but never had this issue with ISC. With ISC I could delete the lease but I do not see that option in dnsmasq.
Title: Re: DNSmasq DHCP Problem?
Post by: Patrick M. Hausen on December 22, 2025, 04:28:41 PM
Deletion is simply not implemented in the OPNsense UI for Kea. So you will have to wait until the lease expires.
Title: Re: DNSmasq DHCP Problem?
Post by: spetrillo on December 22, 2025, 04:55:38 PM
Boo hoo! Thanks for the quick reply.