Live data from Hacker News

Ask HN: What ist your AdBlock strategy?

news.ycombinator.com

101–110 of 189 posts

Re: Ask HN: What ist your AdBlock strategy?

#101
post #95

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 b…

If an ad blocker causes issues with banking sites then you either need a new blocker or a new bank

Delta airlines site absolutely flips out when using uBlock and or Privacy Badger

Re: Ask HN: What ist your AdBlock strategy?

#102

Earlier quoted context omitted.

What sort of workloads are you doing where 60ms extra time on your DNS lookups is an issue?

I naively assumed most OS + routers cache DNS queries so that your typical sites will not even require a lookup. Or is that a bad assumption?

I switched from Adguard Home to Blocky because I noticed how much faster page loads were on Blocky. I've configured it to cache any query I resolve more than once in a 24 hour window. This makes most of my page loads really, really fast.

Adguard also has the ability to cache. But I haven't seen it to significantly speed up my page loads. The default resolution itself is much slower on Adguard + Cloudflare DNS compared to Blocky + Cloudflare DNS. So this makes Adguard double whammy.

Re: Ask HN: What ist your AdBlock strategy?

#103
post #42

Earlier quoted context omitted.

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.

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

I'm using same set of Blocklists (800k-1M rulesets) in my comparison between Adguard and Blocky with same upstream resolver.

I'm running them as system service on my laptop, and using my localhost as dns proxy.

Re: Ask HN: What ist your AdBlock strategy?

#104
post #29

Earlier quoted context omitted.

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.

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.

Adguard Dashboard shows average DNS resolution time. I eventually shifted to Blocky which tracks logs of every DMS query. I strung a quick python script to make a dashboard similar to Adguard's and calculating avg resolution time for each resolved A records.

Re: Ask HN: What ist your AdBlock strategy?

#105

Earlier quoted context omitted.

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.

What sort of workloads are you doing where 60ms extra time on your DNS lookups is an issue?

Nothing interesting particularly, but cached + faster DNS resolution is usually perceptible in general web browsing.

Re: Ask HN: What ist your AdBlock strategy?

#106

I’ve used Pi-Hole before, and I had to troubleshoot in a few instances when I was traveling away from home. I stopped using it to simplify my setup. The ideal setup I want to try is to have something like AdGuard Home at the Router. My current setup on our devices already has AdGuard App running with NextDNS as the DNS Resolver. This setup works pretty well while connecting to any network. NextDNS handles the DNS, wh…

I run adguard on a raspberry pi - setup similar to pi-hole. It works well but does not block YouTube ads. Is there a setting I am missing to enable this?

Change VPN to India and signup YT Premium individual for less than $2/month, or share Family plan with 5 people for less than $1/month.

I'm sure even VPN + YT Premium would be cheaper than local subscription pricing .

Re: Ask HN: What ist your AdBlock strategy?

#107
post #76
post #53

Not mentioned yet: Paying for YouTube Premium if you and your other family members watch a lot of YT. This is only needed for Smart TVs. It's $23 per month for up to a family of five. You also get YouTube Music as well. Otherwise, I use Firefox + uBlock Origin + Privacy Badger and also have redundant PiHole servers.

It’s not mentioned because we’re on HACKER NEWS discussing adblocking, FFS.

If you're going to pay for YouTube, then at least VPN to a 3rd world country for cheaper YT Premium subscription.

Re: Ask HN: What ist your AdBlock strategy?

#108
post #42

Earlier quoted context omitted.

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.

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

The Edgerouter X had good specs for the time it was released but that was over 9 years ago at this point. I had to replace mine a few years ago because it didn't have the thruput for my 1Gbs internet connection.

Many modern consumer routers contain processors and memory which can easily handle Adguard Home. I have a GL.iNet MT-6000 with a MediaTek Filogic 830 processor which has 4 ARM A53 cores running at 2Ghz and offloads wifi and wired network packet processing from the cores. It also has 1GB of DDR4 memory. It has no problem handling Adguard home, my 1Gbs internet connection and gives me around 900Mbs of wirguard thruput.

Post reply on HN