1
24.1 Legacy Series / Re: Configuring a failover mechanism (firewall rules) in case my Pi-hole goes down
« on: April 22, 2024, 11:55:19 pm »
In any event, how do I force applications with hard-coded DNS addresses to go through specific DNS servers (in my case: pi-hole no. 1 & pi-hole no. 2, if the first one is down) without firewall rules? And if I need firewall rules for that, how do I set FW rules to redirect DNS queries to one of the two DNS servers (whichever is up)?
Thank you again!
You can try this: https://labzilla.io/blog/force-dns-pihole (it is actually mostly NAT)
Also if you run more than 1 pihole consider gravity sync or other syncing utilities.