[Dnsmasq-discuss] When does dnsmasq read the leases file?
Chris Green
cl at isbd.net
Thu Feb 10 21:33:25 UTC 2022
As per the subject when does dnsmasq [re]read the leases file?
I am experimenting with my backup DHCP/DNS strategy and I have just
stopped my dnsmasq server and started another listening on the first
dnsmasq server's IP address. It's working OK'ish. However the new
dnsmasq server doesn't (of course) know the name/IP pairs that the old
dnsmasq server had in its memory.
If I had copied the dnsmasq.lease file across from the old server to
the new one would that help? Is there some way to tell dnsmasq to
reload its memory from the file? If dnsmasq is restarted (e.g. by
systemd) does it read the dnsmasq.leases file?
--
Chris Green
More information about the Dnsmasq-discuss
mailing list