Howto block unwanted parasites with a HOSTS file on Mac OS X 10.2 or later
Step 1 – Download hosts-file from mvps.org
download hosts-file from http://winhelp2002.mvps.org/hosts.zip
Step 2 – unzip host-file
double-click on the downloaded file hosts.zip
Step 3 – become root
open a terminal and type:
$su - administrator
$su - root¹
¹(Launch the Directory Utility and enable root in the edit menue)
Step 4 – replace current host-file
first it's a good idea to backup your current hosts-file:
#cp /private/etc/hosts /private/etc/hosts.sik
#cat [location of your unziped hosts-file]/hosts > /private/etc/hosts
Step 5 – Flush the DNS cache
flush the DNS cache, and have your host file changes to take immediate effect:
#dscacheutil -flushcache; exit
This how-to is provided 'as is' without any warranty - use at your own risk.
For more information regarding the project, please visit http://winhelp2002.mvps.org/hosts.htm