/etc/hosts
and probably looks like this:
Code: Select all
127.0.0.1 localhost
127.0.1.1 Fenella
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Code: Select all
# [Start of entries generated by MVPS HOSTS]
sudo nano -w /etc/hosts
and paste the text at the end of the file.ctrl-o, enter to save, then ctrl-x to exit.
All done.
The file is updated regularly so if web security is important to you, check the link every month for updates.
If you'd like to know more, see this link. It's Windwoes oriented but it'll give you a good idea of what's going on.
Edit: To automate the download process and the update of the hosts file, see this link. Thanks to user majpooper for the tip.