<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 10/25/16 11:45 PM, marcus coleman
      wrote:<br>
    </div>
    <blockquote
cite="mid:DM5PR07MB3115307EAFA14C57FC83FA8EA9AB0@DM5PR07MB3115.namprd07.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Hello All</p>
        <p><br>
        </p>
        <p>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 ?</p>
        <p>"takeover" dhcp/dns roles of the primary ?</p>
      </div>
    </blockquote>
    <br>
    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.  <br>
    <br>
     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...<br>
    <br>
    <blockquote
cite="mid:DM5PR07MB3115307EAFA14C57FC83FA8EA9AB0@DM5PR07MB3115.namprd07.prod.outlook.com"
      type="cite">
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p><br>
        </p>
        <p>thanks for any help in advance!</p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Dnsmasq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Scott Mead
Sr. Architect
OpenSCG</pre>
  </body>
</html>