Live data from Hacker News

Setting up a secondary Pi-Hole on my home network

dzombak.com

51–60 of 75 posts

Re: Setting up a secondary Pi-Hole on my home network

#51
Mine still runs happily on a PI Model B Plus with no downtime except for maintenance. Some DNS/Netwrk fallbacks on the DSL Router.

Imho the risk/consequences of a downtime don't justify having some hardware draining power. If all goes down ansible will have provisioned a new pi in no time.

Nevertheless i applaud the effort and am happy to have learned some things from the article

Re: Setting up a secondary Pi-Hole on my home network

#52
post #45

Earlier quoted context omitted.

Use YT on the web. If you have an iPhone, get Stop the Madness, which can make the ads very short and easily skippable. It also removes a lot of annoying web behaviors and is highly customizable.

Or, you know, pay for the content you consume.

Do ads on YouTube go away if you sponsor a channel? Patreon, etc? (Serious question)

Re: Setting up a secondary Pi-Hole on my home network

#53
post #19

A simpler solution: Deploy one Pi-Hole instance and then set clients to use Pi-Hole as the primary resolver and your ISP/router as the secondary. In the rare circumstance that the Pi-Hole device is down, you fallback and get the "normal" ISP DNS service.

I did this and started to wonder why every web page opened reeaaallly slowly.

Turns out the Pi-Hole Raspberry Pi had borked and wasn't answering at all, my computer was waiting for the primary DNS _every_time_ for multiple seconds before trying the secondary one.

What it should've done (IMO) is query both and pick the fastest.

Swapped to NextDNS and haven't looked back, I set it on my router and mobile devices once and that's it.

Re: Setting up a secondary Pi-Hole on my home network

#54

Earlier quoted context omitted.

But what if all three go offline for any random reason? Are you planning to add a fourth?

Obviously the fourth instance should be hosted on AWS connected to your local Tailnet.

But what if AWS has an outage as well?

Re: Setting up a secondary Pi-Hole on my home network

#55
post #2

I am also running a Pi-Hole and have wondered about what happens when/if the Pi-Hole goes down. Is there a simple way to have a failover/fallback DNS configured rather than requiring two Pi's? On failure, I'd like my DNS to just fallback to my routers default DNS - yes I'd get ad's but I think that's acceptable.

It seems like concern over reliability of the PiHole is a common concern (between the original post and the comments). I guess I'm just not sure why. I just run one, and have for quite a while. I've never had any issues, which suggests to me that the probability of failure is pretty low. But more importantly, the impact of failure is (in my opinion) almost zero. It's a home network. If the PiHole has a problem, eithe…

I’ve had problems a couple of times in several years. Part of the issue is that it is rare—so that when it does happen, I just figure the ISP is being flaky instead of my mind immediately jumping to DNS problems.

Re: Setting up a secondary Pi-Hole on my home network

#56
post #19

A simpler solution: Deploy one Pi-Hole instance and then set clients to use Pi-Hole as the primary resolver and your ISP/router as the secondary. In the rare circumstance that the Pi-Hole device is down, you fallback and get the "normal" ISP DNS service.

AFAIK that won't work reliably with Windows. It will spray requests to all configured DNS servers and use whichever response comes back the quickest.

If you can guarantee that the PiHole will always be fastest, it should be OK. But I'd be curious to see how you'd go about guaranteeing that.

Re: Setting up a secondary Pi-Hole on my home network

#57

I run a pihole but I've also got a OPNSense router. I was thinking of turning on the AdGuard Home thats fully supported in OPNSense as a secondary. in fact I think this is just prompted me to do that.

I used to do it that way. However, when I did a restore to my opnsense server it could not reach the internet to update or install the adguard package because the dns wouldn't resolve!. I had to do the extra steps to move the dns externally, update/install adguard and then reimport the backup settings (or change the dns to adguard again).

I settled on virtualising Opnsense and Adguard separately on a proxmox instance.

Re: Setting up a secondary Pi-Hole on my home network

#58
post #23

Earlier quoted context omitted.

> it's not like the Pi-Hole can block embedded ads in adware apps like YouTube on the iOS Thanks for the info. I thought this was possible and it was the sole reason why I considered setting one up. Now I procrastinated on that project long enough to learn I can cancel it.

Use YT on the web. If you have an iPhone, get Stop the Madness, which can make the ads very short and easily skippable. It also removes a lot of annoying web behaviors and is highly customizable.

Some people (like me) primarily consume YT content on their TV. I also set up a pihole with the intent of blocking YT ads on my TV, but pihole is useless for that. Instead, it broke after a few weeks and had to be rebooted. So, sure, if you look into the logs, you see it blocked a lot of tracking chatter, but other than that, it had a perceived negative value if you ask me.

Instead I sideloaded SmartTubeNext on my Fire TV and just live with the banner ads.

Re: Setting up a secondary Pi-Hole on my home network

#59
post #19

A simpler solution: Deploy one Pi-Hole instance and then set clients to use Pi-Hole as the primary resolver and your ISP/router as the secondary. In the rare circumstance that the Pi-Hole device is down, you fallback and get the "normal" ISP DNS service.

That will not work. The naming primary/secondary doesn't mean what you think with dns. You should always set only the primary or both the same.

Re: Setting up a secondary Pi-Hole on my home network

#60
post #52
post #45

Earlier quoted context omitted.

Or, you know, pay for the content you consume.

Do ads on YouTube go away if you sponsor a channel? Patreon, etc? (Serious question)

Patreon – no. You pay a subscription to YouTube and you don't get served ads. Some of the money from these subscriptions is then divided between the creators, similar to how Spotify works.

YouTuber makes more money on average when a YouTube Premium user watches their video than what they would get from the ad-view if the person wasn't on Premium.

All in all it's reasonable IMHO. I might purchase it some time. The only issue is that this of course doesn't remove sponsorships baked into the videos, which annoy me just the same as the YT ads. So, I would still need Sponsorblock.

Post reply on HN