I’ve recently started using pihole on a Raspberry Pi Zero W, and it’s been working great and so I decided I wanted to add a second one for redundancy. I already ordered the new Pi Zero and was thinking about trying to get an sd card setup for it before it gets here so that I could hopefully just pop it in when the new pi gets here and be up and running. So here’s what I’m planning on doing, and I just want to be sure I’m not missing anything.
First, my current unit has got pihole, unbound and samba installed. Nothing else. It’s all configured and working exactly as I want. I have a usb sd card reader that I attached, and I loaded up vnc and used the SD Card Copier utility to copy my existing card. I then mounted the main partition and am planning to edit the following files:
- /etc/pihole/local.list - Add ip for new pihole, make sure it is updated on both piholes.
- /etc/unbound/unbound.conf.d/pi-hole.conf - Add ip and name for new pihole to the local zone, make sure it is updated on both piholes.
- /etc/hostname - Change to a unique name that is different than the primary pi-hole. The changed file should be placed on the new pihole only.
- /etc/hosts - Add ip and name of the new pihole, make sure it is updated on both piholes.
I am using my router for DHCP, so I will be reserving a pre-determined ip address to the new pi when it gets here, so there shouldn’t be any DHCP configuration files I should need to worry about.
My question is, are there any other files that I’m overlooking that need to be edited for the second pihole, or should those files be enough?
Thanks in advance,