Step 1 – Download hosts-file from mvps.org
download hosts-file from http://winhelp2002.mvps.org/hosts.zipStep 2 – unzip host-file
double-click on the downloaded file hosts.zipStep 3 – become root
open a terminal and type:$su - administrator
$su - root¹ (Launch the Directory Utility and enable root in the edit menu - http://support.apple.com/kb/ht1528)
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
No comments:
Post a Comment