Reason being, if users on my network are using a resolvers other than my own, they can resolve all sorts of domains I would have otherwise blackholed.
Reason being, if users on my network are using a resolvers other than my own, they can resolve all sorts of domains I would have otherwise blackholed.
Especially with things like Google DNS over HTTPS and https://github.com/pforemski/dingo ...
Doing this sounds like a good way to increase the noise to signal ratio in your support calls....
# from memory, syntax might not quite work
telnet 1.2.3.4 80
Http/1.1
Host: example.com
Get /
Which is indeed why you can put the ip and host name(s) in /etc/hosts - and without other network level blocks - browsers etc will just work.With http 1.0 blocking/filtering ips was enough, with 1.1 you need a proxy. With tls/ssl you have the choice between (having the capability to) decrypt everything or filter nothing. (obviously ip level filtering works, but it's a little crude in a Http 1/1 world. Ditto for http2 etc).
Too high of a hurdle for your average user though, in which case blocking sites at the DNS resolver works.