Pi-hole is a powerful network-wide ads & trackers blocking DNS server. Once it's set up, it'll cover all home devices, so there's no need to install any client-side software for that.
Why Pi-hole? The have well supported docker image and they also have very broad community. Every aspect is well documented, so it's much easier to fix stuff when something goes wrong.
Pi-hole blocks requests. This means it can break some websites sometimes.
On Ubuntu, there's an issue with
systemd-resolved consuming port
53, which is required for AdGuard.
I've made a script
smart-home fix-systemd-resolved that automatically fixes that issue.
Ad Blocking List¶
Here are ad-blocking lists I use:
- Every green list on firebog.net
- Malware Domain List
- NoTracking List
- YouTube Ads DNS
- Mobile Ads Filter
- Annoyances Filter
- Russian Ad Filter
- Safari Filter
Previously, I used AdGuard Home to blocks advertisements.
AdGuard is a Russian company, and this opens security concerns. Though it's legally registered in Cyprus, most of its developers work from Russian offices.
After Russian invasion in Ukraine I decied to move away from AdGuard.
I was using AdGuard Home as my primary ad-blocking solution. AdGuard is a DNS-based ad-blocking tool that checks and blocks requests to advertisement domains.
There is a Docker container for AdGuard Home.
However, make sure your Internet provider allows custom DNS. My provider was blocking this, and I spend a lot of time trying to figure out what's wrong.