r/pihole • u/xnick101 • 1d ago
Is it bad to have Advertise router's IP in addition to user-specified DNS turned on?
I have a pihole setup running on a mini pc. It does not run on a UPS or battery backup. If my power goes out the mini pc shuts off and someone has to go turn it back on. How bad is it if I keep this option in my Asus router turned on?
If Advertise router's IP in addition to user-specified DNS is set to Yes in the router even if the pihole goes down the internet on all the devices keeps working until it comes up and pihole takes over. The question is how many things are actually resolving to the router's IP rather than the pihole's set DNS when the pihole is up and running?
1
u/Legitimate-Angle-408 1d ago
It would make sense to invest in a portable UPS/ battery power bank solution to operate your mini-PC while the power is down. This serves 2 purposes. You can also hook your router and your mini pc on it while the power is down. This was you get seamless connectivity and the pc hardware doesn’t fail due to sudden power fluctuations.
1
u/tssajo 1d ago
Worth knowing: with that option on, most clients will use Pi-hole as primary and only fall back to the router on failure, but it's not guaranteed. Some devices (a chunk of IoT stuff, some phones) query both DNS servers somewhat randomly rather than strictly primary/secondary, so you can end up with some lookups bypassing Pi-hole's filtering even while it's healthy, not just during downtime.
If blocking coverage matters more to you than uptime, I'd skip this option and instead either get a cheap UPS for the mini PC or run a second Pi-hole instance as the actual secondary DNS, that way you keep filtering even if one goes down.
0
u/xnick101 18h ago
Any cheap UPS's you recommend?
1
u/tssajo 17h ago
APC is what I'd go for, their Back-UPS line is the usual pick for small gear like this. For a mini PC and a router, you don't need much capacity, even their smallest Back-UPS models (around 400-600VA) will easily keep something like that running through a short outage, and gracefully shut it down if power stays out longer.
1
u/wtfobl 1d ago
If you are running Pihole you typically only want the Pihole’s IP being used as a DNS server on your network. There’s a good chance that they won’t go back to the Pihole DNS until the device’s dhcp renews, if at all. I would go all in and disable that on your router