You are reading a single comment by @Emyr and its replies. Click here to read the full conversation.
  • 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.

  • 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:

    1. Block all outbound DNS requests except from the Pi.
    2. Include the Pi's DNS details in DHCP responses.
    3. 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).
  • Cheers. Filed under 'retirement activities' ;-)

    I'd like to avoid adding kit, just thought there might be a simple way of using the router for it.

About

Avatar for Emyr @Emyr started