Protecting your computer with a hosts file


Sebsauvage has put together a great hosts file: dns-blocklist

DNS filtering is a simple way of blocking the majority of ads, trackers and malicious sites with minimum effort. Set-up is fast and easily reversible.

On Linux

sudo curl "" -o /etc/cron.weekly/hosts-update sudo chmod +x /etc/cron.weekly/hosts-update

Run the first update:

sudo /etc/cron.weekly/hosts-update

On Windows

Windows networking is a steaming pile of manure, but you can still install this file with caveats.

A minimalist blog by Philip Wittamore