which is more effective, useful, and efficient?
If I had to pick only one of the two, I’d prefer local blocking because it cannot only not load ads, but also remove the placeholder/frame the ad would’ve been in. It’s also better at circumventing anti-adblock scripts.
That being said, DNS-based blocking is great outside of browser use, and it blocks many ads and tracking attempts in mobile and desktop apps.
A combination of both is best, really. I use uBlock Origin in the browser (or AdGuard Pro with Safari on Mac and iPhone) and then NextDNS. NextDNS is configured rather conservative though, because it can cause things to break otherwise, and that’s hard to manage when you’re not the only use of your network.
ratzki@discuss.tchncs.de 1 year ago
DNS-based blocking more complete for your whole network, independent of the device settings for tech-avers users/kids. DNS-based blocking is less flexible for all users in the network - especially when you need to make exceptions for certain sites. They are also limited to your home network, unless you have a VPN server. Therefore, for mobile devices app-based blocking is the main way to go. Consequently, both make sense and your use case is relevant.
Cheradenine@sh.itjust.works 1 year ago
You can do DNS based blocking on mobile, I’m doing it right now.
TurnItOff_OnAgain@lemmy.world 1 year ago
Private DNS FTW!
cmnybo@discuss.tchncs.de 1 year ago
For android, you can enable the private DNS function (DNS over TLS) and specify a custom DNS server that has ad/tracker blocking without having to install any apps. That also has the benefit of encrypting your DNS lookups so nobody can spy on it.
krellor@kbin.social 1 year ago
I do this but one thing to note is that it can break some wifi capture portals and auth loops, so you might have to disable specified Wi-Fi, connect, and enable. Some wifi has private view DNS records for their capture portal or auth server like clearpass. Additionally, if your phone switches days to WiFi, but you need data to query or resolve your DNS provider and Android doesn't have it cached, then it can also fail.
peregus@lemmy.world 1 year ago
Or install the open source app AdAway that I guess goes over the DNS block of some servers.