[Dnsmasq-discuss] Static leases issues

Bruno BEAUFILS bruno+dnsmasq at boulgour.com
Tue Jun 9 09:17:39 BST 2020


On Mon, Jun 08, 2020 at 06:36:20PM +0200, john doe wrote:
> > 2. remove the leases file
>
> Try clearing the lease for the host in question:
> 
> $ systemctl stop dnsmasq
> Remove the file altogether or remove the desired lease in the lease file:.
> Lease file path: '/var/lib/misc/dnsmasq.leases'
> $ systemctl start dnsmasq

As I wrote, it is already what I did.

My lease file is under /var/lib/dnsmasq/dnsmasq.leases though.

> IN plain English, you need to clear the lease or you need to wait for
> the lease to expire.

This is exactly what I hoped but what I observed not working.

Do we agree that to clean the leases the removal of the leases file
when dnsmasq is stopped is sufficient?

-- 
Bruno BEAUFILS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200609/b8193730/attachment.sig>


More information about the Dnsmasq-discuss mailing list