[Dnsmasq-discuss] A (possibly bad) idea: failover in dnsmasq

richardvoigt at gmail.com richardvoigt at gmail.com
Mon May 28 19:51:45 BST 2012


>>>> Configuration on a primary looks like
>>>>
>>>> --failover-listen= <port no>
>>>>
>>>> Configuration on a secondary looks like
>>>>
>>>> --failover-master=<IP of primary>,<port on primary>
>>>
>>>
>>> I think more consideration should go into the configuration command
>>> names, since putting a "fallover-master" option on a secondary is
>>> counter-intuitive.  After all, one doesn't put a "dhcp-authoritative"
>>> option on non-authoritative servers to tell them where to find the
>>> authoritative server.
>
> That's a valid argument. How about --failover-from=<address>

That sounds much better, less chance of confusion.

>
>>>  Also, shouldn't the standby/failover behavior
>>> be linked to authoritative?
>
> I _think_ authoritative should not be used with failover, but I need to
> trace through all the paths to be sure.
>

Probably a candidate for logging a warning if both options are used.



More information about the Dnsmasq-discuss mailing list