[Dnsmasq-discuss] DHCPv6 with dnsmasq for automated deployments
Simon Kelley
simon at thekelleys.org.uk
Tue Jun 5 21:20:20 BST 2018
>
> 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.
Simon.
More information about the Dnsmasq-discuss
mailing list