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
Ask HN: What ist your AdBlock strategy?
101–110 of 189 posts
Re: Ask HN: What ist your AdBlock strategy?
#102Earlier 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?
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?
#103Earlier 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 running them as system service on my laptop, and using my localhost as dns proxy.
Re: Ask HN: What ist your AdBlock strategy?
#104Earlier 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.
Re: Ask HN: What ist your AdBlock strategy?
#105Earlier 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?
Re: Ask HN: What ist your AdBlock strategy?
#106I’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?
I'm sure even VPN + YT Premium would be cheaper than local subscription pricing .
Re: Ask HN: What ist your AdBlock strategy?
#107Not 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.
Re: Ask HN: What ist your AdBlock strategy?
#108Earlier 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
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.
Re: Ask HN: What ist your AdBlock strategy?
#109hosts file is a really nice global block