I am running the dnsmasq in a docker container. The image is built for multiple architectures making it easy to switch from platform to another if the need arises. Dnsmasq configuration is on a docker volume, so the image itself does not have any stored configuration. My config is also stored encrypted in my private github repo, so I can easily access it. Docker volume with the config on a glusterfs would be a feasible solution as well.
//Hannu Napari On Tue, Aug 31, 2021 at 4:07 PM Chris Green <c...@isbd.net> wrote: > I run dnsmasq on a Raspberry Pi to provide DHCP and DNS services on my > home LAN. It's just very handy having names for all devices rather > than having to use IP addresses. > > A few weeks ago the Pi died (or, more accurately, the SD card it was > running on died) and it took me quite a while to get things back > together again (like half a day or so, mostly down to trying to rush > things). This isn't "mission critical", nothing awful happened when > we didn't have the Pi providing DNS for half a day but it was 'messy'. > > So, I've been wondering how I can help myself sort things out more > easily and quickly if it happens again. What do others do? > > The ways I can think of are:- > > Have an 'image' SD card of the Pi kept up to date somehow so that > I can either change the SD card in the running Pi or use another > Pi in place of it. Problem is how to keep the image up to date. > > Have a 'warm backup' dnsmasq running on another system. There is > another Pi on the LAN and also a desktop server both of which are > on all the time. How easy is it to replace one dnsmasq system > with another on the LAN? > > Any other obvious ways? > > > Thanks for any ideas. > > -- > Chris Green > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss >
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss