[Dnsmasq-discuss] dnsmasq with high availability and dynamic range
Goswin von Brederlow
brederlo at q-leap.de
Wed Feb 11 16:06:41 UTC 2026
Hi,
I've been using dnsmasq running on 2 headnodes for a cluster with high
availability for some time with static dhcp-host entries. So far this
runs in an active/active setup, meaning dnsmasq runs on both headnodes
all the time. Hosts then get answers from both servers but since the IPs
are assigned based on the MAC using the same config there never has been
any conflict between the two dnsmasq instances.
Now I'm adding a dynamic range to the setup for hosts that haven't been
registered yet and there I forsee problems if both servers assign the
same IP to different hosts.
Is there some support in dnsmasq for HA that I'm not seeing where the 2
instances of dnsmasq would coordinate their leases in some way that I'm
not seeing? Or should I simply split the dynamic IP range between the
servers so they don't overlap? Are there other options or
recommendations for a high availability setup for dnsmasq?
MfG
Goswin
More information about the Dnsmasq-discuss
mailing list