<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 02/09/2021 15:30, Chris Green wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:YTDgHFE0Cdity+iz@esprimo">
      <pre class="moz-quote-pre" wrap="">On Thu, Sep 02, 2021 at 02:58:44PM +0100, Kevin Tedder wrote:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Chris
You just need to update the /etc/resolv.conf file on each of your clients to
point them at both DNS's.

e.g
nameserver 192.168.1.2
nameserver 192.168.1.3

The client will now ask both DNS servers. It will get a response even if one
of them is off-line.

</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">Does that work satisfactorily though?  OK, there's a secondary DNS
server on the system but it won't have all the local systems' names in
its cache will it?  My main reason for running a local DNS is so that
all systems on my LAN have proper names.  These names will only be in
the DNS instance which was their DHCP server as well won't they?</pre>
    </blockquote>
    <br>
    What about if each instance was set to forward queries for the local
    domain to the other one?<br>
    So if each is configured with "domain=example.com", also add
    "server=/example.com/<address>" where on each server the
    <address> is the IP of the other one?<br>
    <br>
    I haven't tried this, but I believe example.com names known to the
    local server would be returned immediately and any others would be
    forwarded to the other one.<br>
    <br>
    <blockquote type="cite" cite="mid:YTDgHFE0Cdity+iz@esprimo">
      <pre class="moz-quote-pre" wrap="">

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">
Your solution to move the SD card to another RPI is fine, unless the issue
is a corrupted SD Card.  Wasn't this the original issue that you are trying
to avoid?

</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">I wasn't aiming to move the SD card, I was aiming to keep an 'as up to
date as possible' image of the running DNS system.  Possibly, in
addition, writing the image out to an actual, spare, SD card at
intervals.


</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Personally, I'd rather have two systems fully operational all the time. To
discover that the back up solution is not working at the critical moment is
the same as not having a backup at all.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Is there some way the two systems can share the client names supplied
at DHCP time?


</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">The added benefit is maintenance.  You can take one off-line to
update/upgrade whilst the other continues to provide service. 
 
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">Yes, I quite agree there.

</pre>
    </blockquote>
    <br>
    Cheers,<br>
    <pre class="moz-signature" cols="72">-- 
Geoff Back
What if we're all just characters in someone's nightmares?</pre>
  </body>
</html>