[Dnsmasq-discuss] Fail-over or high availability for dnsmaasq

Scott Mead scottm at openscg.com
Wed Oct 26 22:16:03 BST 2016



On 10/25/16 11:45 PM, marcus coleman wrote:
>
> Hello All
>
>
> Is there a configuration for dnsmasq to have a primary and fail-over.
> Meaning if my dnsmasq server (dhcp and dns) go offline can another
> machine running dnsmasq be configured to ?
>
> "takeover" dhcp/dns roles of the primary ?
>

I've done this, although somewhat manually.  Essentially, I use Ansible
to ensure that my configs are all in sync.  Then, I use pacemaker to
detect a 'host down' situation.  This moves an IP alias and then clients
start hitting that host. 

 You may be able to stick nginx in front of dnsmasq and load-balance....
but, if you're using dynamic DNS updates and you rely on a leases file,
you could get different answers based on which server you hit (that'd be
bad).  If all you are doing is DNS definitions and nothing dynamic, I
don't see why it wouldn't work...

>
> thanks for any help in advance!
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

-- 
Scott Mead
Sr. Architect
OpenSCG

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20161026/c323f609/attachment.html>


More information about the Dnsmasq-discuss mailing list