Re:Block Adware and Malware with /etc/hosts
by Havoc on Monday June 12, 2023 @02:43PM
(#36298861)
Much better to do so at router level via pihole or Adguard Home. That way it catches the calling home from all the various electronics too
[ Parent
| on HN ]
Yes. pihole coupled with a router that can intercept outbound traffic on port 53 and force it to the pihole is how my home network is configured. That way it catches all those sneaky devices that have hard coded dns servers.
I've also added (pfSense with pfBlocker) a list-rule to block all Public DNS servers (https://public-dns.info/). If you want to resolve a name, you gotta go through my DNS server.
The UDP:53 block gets almost everything, but I'm preparing for DoH.