Is there any tool/application that I can use to block hosts from all forms of connection from my computer? Currently I use /etc/hosts
and place the absolute host like this:
127.0.0.1 unix.stackexchange.com
127.0.0.1 www.unix.stackexchange.com
But with regex it would be easier to something like this
127.0.0.1 .*stackexchange.*
Which would block everything with stackexchange
in the url.