You are reading a single comment by @Emyr and its replies.
Click here to read the full conversation.
-
You need a caching DNS server. A Pi should do, not sure if that router's beefy enough do do it itself.
https://github.com/pi-hole/pi-hole/#one-step-automated-install
Use that hosts file to generate a blacklist of domains for which the DNS server returns no-records-found immediately.
Router config:
- Block all outbound DNS requests except from the Pi.
- Include the Pi's DNS details in DHCP responses.
- You also need to blacklist (in the router config) the IP ranges used by those domains, but you'll need to be careful not to impact other legit domains that resolve to the
same IP ranges (shared hosting, Tumblr etc).
- Block all outbound DNS requests except from the Pi.
Hey @Velocio or anyone else with one of those Asus nt-r66u router?
Do you know if it's possible to use a custom hosts file on that so all the devices connecting to it use the 0.0.0.0 hosts file from: http://someonewhocares.org/hosts/zero/
I'm guessing there's probably an even cleverer way of doing such a thing that would auto update the hosts but I don't have time for that.