HN2new | past | comments | ask | show | jobs | submitlogin

To be fair, I have 7 Pis running on my network. Home Assistant, 2x Pi-Holes (for redundancy), 1 magic mirror, my Weasleyclock, 1x w/ a hi-fi berry acting as a Spotify streaming device, and a garage door sensor. So roughly half the pis are in service. Maybe only 5% of all the sensors and projects are.


I have a rpi 2b with a hifi berry DAC hat too. It works great. It is attached to a timecapsule with 20cm ethernet and usb cables, for data, network and power. Nothing important on the sd card.


How do you set up the pi holes for redundancy? Just manually configured as primary and secondary DNS, or some nifty configuration syncing?


Both. Have your router (optionally all clients) point to each DNS server. You can go further by keeping the pi holes synchronized:

https://github.com/vmstan/gravity-sync

Since some hostile clients (such as TVs) have hard coded DNS, it is necessary to forward all port 53 and 853 traffic to a pi hole. This is easy enough with NAT redirection rules in the router, even with two pis.

https://www.myhelpfulguides.com/2018/07/30/redirect-hard-cod...


Not your parent poster, but I manually configured them as primary and secondary DNS servers (dockerized PiHole), and then just used pi-hole's "export configuration / restore configuration" tool to keep the DNSs mostly in sync.

I heard there's a tool called Gravity Sync that will sync them, but I have not tried it yet.

Techno Tim on the topic https://www.youtube.com/watch?v=IFVYe3riDRA

https://github.com/vmstan/gravity-sync


I just advertise both Pi-Holes via DHCP and when I configure manual DNS settings. The primary DNS gets the vast majority of the DNS traffic, about 150 requests/minute and the secondary gets about 10 requests/minute (mostly from a single device).

Both piholes are on different UPS power, different switches, in different locations. In theory the lights will go out on the main UPS and switch first (it draws more power), but this configuration did save me once.


My guess would be for guest/home use or maybe for different devices/profiles.


The typical reason for running redundant pi holes is high availability. If you really want all DNS traffic to go through your filter then your internet ceases working as long as your DNS server stops running.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: