Every device on your network asks the router which DNS server to use. Point the router at Blokada Cloud, and ads and trackers are blocked for everything behind it. That includes smart TVs, game consoles, streaming sticks and smart home devices, which have no room for an ad blocker app.
What your router needs
Your router must support encrypted DNS with a host name, that is DNS over TLS (DoT) or DNS over HTTPS (DoH). Many recent routers do, including the models below. Your addresses are:
- DNS over TLS:
<your-id>.cloud.blokada.org - DNS over HTTPS:
https://cloud.blokada.org/<your-id>
Only plain IP addresses? Many internet provider routers only accept plain IP addresses for DNS. Support for those is on the way. Until then, set up your devices one at a time: Android, iPhone, iPad, Mac and Apple TV, and browsers. You can also run a small forwarder on a Raspberry Pi, as described in the Pi-hole guide.
FRITZ!Box
FRITZ!OS 7.20 or later.
- Open
http://fritz.boxand go to Internet → Account Information → DNS Server. - Under Encrypted Name Resolution on the Internet (DNS over TLS), tick Use encrypted name resolution.
- Tick Enforce certificate verification for encrypted name resolution.
- Untick Allow fallback to unencrypted name resolution.
- In Resolver names, enter only
<your-id>.cloud.blokada.org. Remove every other entry. The FRITZ!Box uses all listed resolvers, and any other one lets ads through. - Click Apply.
ASUS
Recent ASUS firmware (3.0.0.4.388 or later) and Asuswrt-Merlin.
- Open the router admin page and go to WAN → Internet Connection.
- Under WAN DNS Setting, set DNS Privacy Protocol to DNS-over-TLS (DoT) and DNS-over-TLS Profile to Strict.
- Remove every entry from the DNS-over-TLS Server List, then add one:
- Address:
193.180.80.10 - TLS Hostname:
<your-id>.cloud.blokada.org
- Address:
- Click Apply.
OpenWrt
- In System → Software, update the lists and install
luci-app-https-dns-proxy. - Open Services → HTTPS DNS Proxy. Delete the instances for other providers.
- Add an instance with a custom resolver URL:
https://cloud.blokada.org/<your-id> - Save & Apply. The package points dnsmasq at it automatically.
Other routers
Look for a setting called DNS over TLS, Private DNS, Encrypted DNS or DNS over HTTPS. Enter the matching address above, and remove every other DNS server, including fallback servers.
Check that it works
- Restart one device, or turn its Wi-Fi off and on, so it picks up the change.
- Browse for a minute, then open the Activity page in the dashboard. Your network's lookups show up there.
Some devices bypass the router: phones with Private DNS set, browsers with secure DNS set to another provider, and devices that hard-code their own DNS. Set those up on the device itself, or turn their own DNS setting off.
Behind the router, all devices share one address, so the dashboard shows your network as a single device. Set up phones and laptops with their own address if you want to see them separately. They also keep their blocking when they leave home.
Questions and comments