[pve-devel] [PATCH dnsmasq 0/1] purge previous ip/mac lease of dhcp reply

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Fri Nov 17 10:42:37 CET 2023


> > If all you need is the `lease_prune()` call from your C patch,
> > dnsmasq
> > also does this on a SIGALRM so you could try to see if sending that
> > helps.
> > 
> > (dnsmasq also has a dbus api to add/remove leases for the worst
> > case...)

>>ah ok ! didn't known that, I'll try the SIGALRM && dbus to see.
>>Thanks
>>!

SIGALRM don't seem to work, 


but looking at dbus doc, that seem really even better
https://github.com/imp/dnsmasq/blob/master/dbus/DBus-interface

we could directly manage leases, without need to manage the ether file
and without reload.







More information about the pve-devel mailing list