[Dnsmasq-discuss] Secondary dnsmasq server?

richardvoigt at gmail.com richardvoigt at gmail.com
Thu Oct 2 14:44:14 BST 2014

If dnsmasq had every imaginable feature, like syncing the DHCP lease list
for failover, then it would no longer be "easy and small".

You can, however, do something almost as good:
* Don't use dhcp-authoritative
* Give each of the two servers non-overlapping pools of addresses

Just a quick question -- you're worried about DHCP downtime, which is
usually a non-issue because of lease length, but what about downtime of the
primary gateway?  Are your DHCP services running on boxes other than the
gateway?  Configuring routing tables to automatically failover to a backup
gateway is a lot more complex than getting two DHCP servers to coexist.

On Wed, Oct 1, 2014 at 8:18 PM, Don Harper <duck at duckland.org> wrote:

> Hello,
>   I did a brief search into the archives for the last two years, and did
> not find what I am looking for.
> I have been using dnsmasq as the primary DNS & DHCP server for my home lan
> for many years now, and love it. But, I would like to have a secondary
> server running to pick up the slack if the primary is off-line for any
> reason (currently, I need to apply a security fix to the OS which will
> force a reboot).
> I have found the config to tell the primary (ns1) about the secondary
> (ns2), and allow ns2 to start a zone transfer from ns1, but what I cannot
> find is how to configure ns2 to be a secondary and poll ns1 as needed.  In
> addition, I have not seen any way to tell ns2 it is a backup DHCP server.
> I know that I could do it with ISC dhcpd, but I like how easy and small
> dnsmasq is, so I thought I would try this way first.
> Thanks for the awesome project, and hopefully thanks in advance for an
> answer (pointers for RTFM'ing would be great, as well!)
> Don
> --
> Don Harper
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20141002/e6f11d5f/attachment.html>

More information about the Dnsmasq-discuss mailing list