Hacker News new | past | comments | ask | show | jobs | submit login

Install a PiHole (https://pi-hole.net/) and redirect all port 53 (DNS) traffic to it. One of many guides:

    https://scotthelme.co.uk/securing-dns-across-all-of-my-devices-with-pihole-dns-over-https-1-1-1-1/
Every device on your network now fails to resolve any advertising/tracking/etc. URL. Great system, and "just works".



I did this a while ago, but don't see a huge difference with ads. I confirmed that around 13% of traffic is getting blocked.


Add some more lists, I’m slowly ramping up my blocking and sit a little higher than you in terms of %. I see a big spike in blocking when other users are around - obviously it depends heavily on where you go. Are you using an ad blocker on your device too?


It won't change much on a desktop device if you're already running things like uBlock Origin. But on mobile, where your options are a bit more limited, it can make a huge difference.


Right now I'm sitting around 68% blocked queries with two Smartphones connected to my Pihole.


Except for YouTube and a bunch of other websites which are specifically targeting "pi-hole"-ed devices.


I haven’t heard about this, can you provide a link with more info? I ask because I run a simple local DNS recursor with a blacklist and I haven’t run into any issues with YouTube.


https://www.reddit.com/r/pihole/comments/9w5swx/i_think_ive_...

The problem is that YouTube sends the ads on the same IPs that the video is streaming on.

The hostnames are randomly generated based on user and also location so you can't use lists from other users who successfully blocked out adverts.

If you block out all IPs the video won't load, also, if you successfully block out an IP that sends advertisements, the YouTube app will hang, because it tries to load the advert. In the past it just skipped if the IP wasn't reachable, now it's requesting in an infinite loop.

I reached to a point when I tried to buy a YouTube Premium, just not to see the ads, but it's not available in my country. So f Google. Currently YouTube is unwatchable to me, it's worse than traditional TVs.


>I reached to a point when I tried to buy a YouTube Premium, just not to see the ads, but it's not available in my country. So f Google

...or you know, whitelist youtube use a browser based adblocker instead?


This or discover the magic of youtube-dl. Of course I think OP aid having these issues on mobile. But I will add I don’t get ads using safari to watch YouTube on my iPhone with ad blockers installed.


Can you provide more detail? Are you talking about pre-roll type ads in YouTube, or something else?


Yeah, I wrestled with including this step, but I wanted to keep it mostly straightforward for relatively non-technical users. I have a different network level ad blocker and love it.


Yup, absolutely. The "install PiHole" line makes much more sense in the context of HN than in the context of a "a few simple steps".


Publish your own DNS in the DHCP lease? That's transparent for the end-users... I wrote lightly about that [0,1]

[0] https://try.popho.be/byeads.html

[1] https://try.popho.be/securing-home.html#dns


Not all products will use the DNS they are told, though.


Anything other than Chromecasts come to mind?



There seems to be a theme here.


> I have a different network level ad blocker and love it.

If you don’t mind sharing, what is it? Pihole is so good, but if you’ve chosen something you see as better, I’m all ears.


"Just works" until you walk out of wifi range.


also, disable third-party cookies.




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

Search: