Dnsmasq master/slave DHCP

Hi
I have 2 DHCP/DNS server (dnsmasq) on the same lan made of OpenWrt boxes

How to configure one dnsmaque as master, and one as slave ?

Thank you

what's the purpose ?

for DNS, you could tell the clients to use both, they will automagically fail over, if needed.

1 Like

Dnsmasq can not do this. Use bind9 or another complete DNS server.
For master slave dhcp, you could use kea.

Edit. Or give both the same config und the same lease File. And simply use keepalived for failover...

1 Like

Someone just made a thread on this a few hours ago: