[Dnsmasq-discuss] Further thoughts/questions on failover
cl at isbd.net
Thu Sep 2 14:30:52 UTC 2021
On Thu, Sep 02, 2021 at 02:58:44PM +0100, Kevin Tedder wrote:
> You just need to update the /etc/resolv.conf file on each of your clients to
> point them at both DNS's.
> 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.
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?
> 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?
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
> 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.
Is there some way the two systems can share the client names supplied
at DHCP time?
> The added benefit is maintenance. You can take one off-line to
> update/upgrade whilst the other continues to provide service.
Yes, I quite agree there.
More information about the Dnsmasq-discuss