> Alternatively: 
> Does somebody know of a clean way to administratively expire a lease handed 
> out by dnsmasq? 
> Then deployment tooling could forcefully expire an old lease when 
> reinstalling a node, and after the final reboot in the installed OS. 
> Right now, I only know one could:
> - Stop dnsmasq.
> - Purge the lease from the leases-file. 
> - Restart dnsmasq. 
> Is there a more convenient way? 

There's a method in the DBus API to delete a DHCP lease. See
dbus/DBus-interface for details.


Dnsmasq-discuss mailing list

Reply via email to