Has anyone here used /etc/hosts to block bad websites and Web objects? Details:
Blocking Unwanted Parasites with a Hosts File
http://www.mvps.org/winhelp2002/hosts.htm
...and how to use that method with *nix:
Hosts File for Linux or Unix
http://www.accs-net.com/hosts/hostsforlinux.html
Windows's default hosts file has only one line:
Code:
127.0.0.1 localhost
Kanotix's hosts says:
Code:
127.0.0.1 localhost
127.0.1.1 [user's system name is added here]
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Obviously the first two entries are necessary---but will the stuff after the 2nd entry interfere with any addresses that are added? (On a standalone system, maybe the entries after the 2nd one aren't needed?)
Thanks, Andy |