cawen:
> So, I was looking for a way to block URLs to certain websites that
> provide constant sources of distraction and productivity losses, and It
> was recommended that I try editing the hosts file.
>
> I followed the steps outlined here:
>
> http://www.makeuseof.com/tag/modify-manage-hosts-file-linux/
>
> but its still not blocking reddit or any website I add in there.
In Tails, each application is configured to use Tor, and that includes
resolving DNS over Tor. The system DNS resolver will only be used for shitty
applications that have a DNS leak (i.e. DNS is not done over the configured
proxy) and it is only when the system resolver is used that the hosts file
takes effect. Luckily tor has an equivalent feature, so you can "block" domains
like this:
echo "MapAddress reddit.com localhost" | sudo tee -a /etc/tor/torrc
sudo systemctl reload [email protected]
Cheers!
_______________________________________________
tails-support mailing list
[email protected]
https://mailman.boum.org/listinfo/tails-support
To unsubscribe from this list, send an empty email to
[email protected].