Readit News logoReadit News
Posted by u/laserstrahl 10 months ago
Ask HN: What ist your AdBlock strategy?
Hi, Just installed OpenWRT. Which solutions for ad blocking and other trackers would you recommend? Pi-Hole is not a option, since I don't have one laying around.

So anything else I can try which will work out of the box? For links and guides I'd be happy. PS: I got dual antennas what would come into your mind to do with it?

marssaxman · 10 months ago
Firefox + uBlock Origin works well for me! It's all I use.
rsyring · 10 months ago
Ditto except NextDNS as default on my network for DNS blocking.

I can switch to cloudflare DNS in Firefox to circumvent DNS routing which is occasionally necessary, mostly to make email links work.

newscracker · 10 months ago
NextDNS does not work many a times. I prefer the iOS app so that it’s easy to disable when needed, but the app has not been updated for a few years. Many a times the test page at test.nextdns.io will show as unconfigured and sometimes it will show as passing the test.

On Apple TV, I have the NextDNS profile installed, but it still doesn’t work.

Most of the community forum posts on NextDNS don’t get any answers. I’m sure the DNS servers exist, but the clients and the configuration options have not been supported by the creators.

I wouldn’t recommend NextDNS to anyone because of this apathy by its creators.

g8oz · 10 months ago
NextDNS is definitely worth the money. Setting up profiles for your kids devices is very useful functionality as well.
atmavatar · 10 months ago
In addition to that, I use EFF's Privacy Badger

https://www.eff.org/pages/privacy-badger

extraduder_ire · 10 months ago
The ublock origin FAQ recommends not using additional content blockers or you may run into effectiveness/detection problems.

I've never had the former happen, but it's something to be aware of.

throawayonthe · 10 months ago
afaik there's nothing ublock doesn't block (or can't block with an extra filter or two) that Privacy Badger does, sorta redundant
berbec · 10 months ago
I had a pihole for a while, but found ublock was more reliable. Occasionally the dns routing to 127.0.0.1 would wreck havoc on "Smart" devices, such as firetv etc
nilslindemann · 10 months ago
The same addon, but prefer Ungoogled Chromium as browser. Chrome, Firefox, Brave etc. have too many features I never asked for.
gtk40 · 10 months ago
I just use Firefox and disable Pocket, search suggestions, and everything on the new tab page and it feels fine to me.
e40 · 10 months ago
Found out 1Password doesn't work in this, so it killed my plan to switch to it. Currently using Brave, which seems like the next best choice.
dawnerd · 10 months ago
I do that plus adguard dns hosted on my local network and I use their paid dns on my phones when remote.
jackstraw14 · 10 months ago
Brave browser + uBlock Origin is still great for a Chromium-flavored experience too.
newscracker · 10 months ago
Whatever you end up using, make sure that there is an easy way to turn it off and on from each client device. A network wide blocker could cause issues with some sites (like banking, as an example).

Tangential topic: I see some suggestions for NextDNS here as an additional layer. I can’t speak for Android, but if you’re looking for iOS/iPadOS/macOS/tvOS, note that NextDNS does not work well on these. The app hasn’t been updated for several years and toggling on the app does nothing (I like the app because I can quickly switch it off and on when needed, which cannot be done with a profile). Most of the time the test page at test.nextdns.io shows as “unconfigured”. Even the profile installation approach does not work on Apple TV (I’ve tried this a few times). Overall, the NextDNS servers around the world exist, but there is zero support and maintenance on the client side for the platforms I mentioned. The community forum has posts about issues that the founders don’t respond to.

At least on macOS, I have Little Snitch that acts as a system wide blocker (one can subscribe to blocking lists just like in uBlock Origin).

Havoc · 10 months ago
If an ad blocker causes issues with banking sites then you either need a new blocker or a new bank
__jonas · 10 months ago
Bit of an unrealistic comment, this might be a choice you can make for yourself, but most people don't live alone and share their internet connection with others – I doubt telling your partner or housemates to get a new bank because of the DNS ad blocker you set up on the network will go down well.

Ad blockers pretty much all rely on community-maintained block-lists, there are always going to be mistakes in those that break some sites, or some sites might not act well when unable to send ad/tracking events. I recently had an issue booking a train, which was because of this, turned off the ad blocker and it worked fine, not something that's as easy to do with network level blocking, especially if it was set up by someone else and you're not a technical person. Not booking the train because their site is bad is not a realistic option.

hypercube33 · 10 months ago
Delta airlines site absolutely flips out when using uBlock and or Privacy Badger
corobo · 10 months ago
As a possible counter to

> but if you’re looking for iOS/iPadOS/macOS/tvOS, note that NextDNS does not work well on these

If your situation supports it I've had zero issues (since May 2021) using NextDNS via tailscale[1] on all of the above devices[2].

I do realise it's not feasible to ask people to set up a VPN just for some adblocking but it's a decent option if you were going to do it anyway :)

[1]: https://tailscale.com/kb/1218/nextdns

[2]: Yes even tvOS: https://tailscale.com/kb/1280/appletv

blacksmith_tb · 10 months ago
I use NextDNS for adblocking on Android via the Private DNS Provider setting, which works nicely. For a while I'd have to disable it to use the Wells Fargo app, but they finally removed whatever dumb dependency (Firebase?) that was breaking that.
tricked · 10 months ago
NextDNS does support creating a profile, you can just install that and it does the dns configs for you etc that method seemed to work fairly well for me.
SSLy · 10 months ago
ControlD is now replacing nextdns apps and functionality
someotherperson · 10 months ago
Computer browser: Brave + uBlock, LocalCDN, Privacy Badger, SponsorBlock (+ Invidious, Redlib, Nitter, etc, when it makes sense)

Phone: Hyperweb (for redirections to alternative frontends) + AdGuard Pro + ControlD DNS-over-HTTPS

Router: ControlD DNS-over-HTTPS

If you're using OpenWRT, check out AdGuard Home. But keep in mind that DNS blocking solutions aren't going to be as effective as tools like uBlock that review the DOM and apply styling filters. Both would work hand-in-hand.

coffeeri · 10 months ago
I am using NextDNS [0], which also integrates well within Tailscale across all my devices. Or are you looking for a solution that works offline within OpenWRT, without relying on third parties? It appears that there are AdBlock packages available for OpenWRT[1].

[0] https://nextdns.io [1] https://github.com/openwrt/packages/blob/master/net/adblock/...

alexwasserman · 10 months ago
Pi-Hole doesn't need an actual Raspberry Pi.

The software runs fine on a lot of hardware. I have it dockerized (via ansible) and deployed on a couple of regular mini-PCs.

You can run it on a lot of hardware these days, or containerized.

ryandrake · 10 months ago
Yea this seems to be a really big misconception. There is nothing magical about pi-hole that requires a Raspberry Pi or even the actual pi-hole software either. It’s just dnsmasq. A generic Linux box running dnsmasq gets you 95% of what branded “pi-hole” gets you.
cf100clunk · 10 months ago
> dnsmasq

Check out running dnsmasq with dnscrypt-proxy too.

superkuh · 10 months ago
Noscript temporary whitelist only combined with uBlock origin and sponsorblock. A CSS toggle button is important too to be able to read text when the page doesn't display correctly. As well as a "superstop" button to (near) completely end all JS execution in a tab after loading.

After 15 years of using NoScript this way I have developed a sixth sense for the minimal set of individual hostnames/ips need to be JS allowed on a typical site. I'm quite fast at it. But wix.com hosted sites and others like it that have one JS domain required to load another and so on serially 5x deep I just close rather than refreshing the page 5 times.

Linux-Fan · 10 months ago
I use Firefox + uMatrix to achieve a similar setup.

One advantage of using only a script blocker in favor of a proper ad blocker is that I don't shut off reasonable ads but only the ones that do shady stuff with a lot of computation and tracking on the client PC.

uMatrix has the advantage that it additionally blocks cookies by default, making the tracking even harder.

dizhn · 10 months ago
I haven't looked at pihole once after I discovered adguard home.

https://openwrt.org/docs/guide-user/services/dns/adguard-hom...

uncharted9 · 10 months ago
How do you reduce the latency of the upstream DNS resolvers? The closest Cloudflare servers give me 20-25ms DNS resolution times, but with Cloudflare as the upstream DNS in Adguard Home, I'm getting more around 80-110ms.
stonegray · 10 months ago
Maybe not what you’re looking for, but I put adguard home on a VPS (although later switched to a “real” dns software prior to benchmarking) and is faster^1 than connecting directly to cloudflare from home.

[1] https://stonegray.ca/dns/#performance

Edit: for the curious, I use technetium as the server, nginx to proxy it (security stuff, prioritize traffic from my zerotier network, do DNS/DoT translation, etc) and docker/letsencrypt/watchtower/netdata for auto updating and status reporting, packaged as a single docker compose I can deploy easily.

sigio · 10 months ago
If you run adguard home with long blocklists on a consumer-level router, this will cause big delays, simply because the blocklists are large and eat all available memory and lots of processing on any dns request.

I've kept de blocklists in adguard home small, and then it works fine, but if I add hundreds of thousands of blocked domains, it gets painfully slow on my Edgerouter X running OpenWRT

cortesoft · 10 months ago
What sort of workloads are you doing where 60ms extra time on your DNS lookups is an issue?
dizhn · 10 months ago
Is there a specific way to test that or just nslookup/dig/drill and look at the number there? I want to check this and get back to you.
robertlacok · 10 months ago
On a computer, just uBlock Origin and it works wonders.

Tangential question - what is the best solution for iPhone? On Androids you can use Firefox with uBlock, but it seems none of the Safari extensions on iPhone actually work, I tried some paid ones too. Brave seems to work decently well, but I have no idea why - if other browsers have some OS limitation, how does Brave go around it?

nicbou · 10 months ago
AdGuard is really good, amd almost as good as uBlock for me.
laserstrahl · 10 months ago
I used Orion Browser from kagi. It lets you install extensions.
wez_official · 10 months ago
I use Wipr on iOS+Safari and MacOS+Safari. It works just as well as Firefox+uBlock Origin on Windows/Linux.
rootsu · 10 months ago
Nextdns, install profile on apple devices and block the ads on dns level for all of your devices.
navane · 10 months ago
I do brave on Android, it just works. If it's on iphone I'd use that.
jackjeff · 10 months ago
I use ublock Origin on the Orion browser on iOS.
baggachipz · 10 months ago
An additional ad blocker shouldn't be necessary in Orion, as it has one built-in.

Deleted Comment