<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 28/07/2023 10:07, Klaus Darilion via
      Pdns-users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:4488890c7bee4373b7d602ca5fae459b@nic.at">
      <pre class="moz-quote-pre" wrap="">PS: This sound like you want to run PDNS in an active-standby HA-setup with a "hot" standby</pre>
    </blockquote>
    <p>If it were me, I'd have a pair of dnsdist instances (with the
      floating IP moving between those), which in turn point to the real
      servers behind.</p>
    <p>This has a number of advantages:<br>
    </p>
    <p>- active-active operation (load-sharing)<br>
      - can scale to more than 2 back-end servers<br>
      - actively sends test DNS queries to each backend every second,
      and takes unresponsive ones out of the pool<br>
      - provides lots of <a moz-do-not-send="true"
        href="https://dnsdist.org/statistics.html">metrics</a><br>
      - binding to an interface name instead of IP is apparently <a
        moz-do-not-send="true"
        href="https://dnsdist.org/reference/config.html#listen-sockets">supported</a>:</p>
    <p><i><span style="color: rgb(62, 67, 73); font-family: sans-serif;
          font-size: 16px; font-variant-ligatures: normal;
          font-variant-caps: normal; font-weight: 400; letter-spacing:
          normal; text-align: start; text-indent: 0px; text-transform:
          none; word-spacing: 0px; -webkit-text-stroke-width: 0px;
          white-space: normal; background-color: rgb(255, 255, 255);
          text-decoration-thickness: initial; text-decoration-style:
          initial; text-decoration-color: initial; display: inline
          !important; float: none;">On recent Linux versions specifying
          the interface via the<span> </span></span></i><i><code
          class="docutils literal notranslate" style="background-color:
          rgb(255, 255, 255); color: rgb(34, 34, 34); font-size: 1.1em;
          font-family: monospace; font-variant-ligatures: normal;
          font-variant-caps: normal; font-weight: 400; letter-spacing:
          normal; text-align: start; text-indent: 0px; text-transform:
          none; word-spacing: 0px; -webkit-text-stroke-width: 0px;
          white-space: normal; text-decoration-thickness: initial;
          text-decoration-style: initial; text-decoration-color:
          initial;"><span class="pre" style="hyphens: none;">interface</span></code></i><i><span
          style="color: rgb(62, 67, 73); font-family: sans-serif;
          font-size: 16px; font-variant-ligatures: normal;
          font-variant-caps: normal; font-weight: 400; letter-spacing:
          normal; text-align: start; text-indent: 0px; text-transform:
          none; word-spacing: 0px; -webkit-text-stroke-width: 0px;
          white-space: normal; background-color: rgb(255, 255, 255);
          text-decoration-thickness: initial; text-decoration-style:
          initial; text-decoration-color: initial; display: inline
          !important; float: none;"><span> </span>parameter should work
          as well.</span></i></p>
    <p>The issues Klaus raised around master/slave operation still
      require care of course. If you're using native mode with SQL-level
      replication, things may be simpler.<br>
    </p>
  </body>
</html>