Which hosts file are you editing -- the one in /etc or the one in /private/etc? It seems Snow Leopard uses the one in /private/etc.
Also, after adding entries into the hosts file, you must flush the DNS cache so that the new entries will be respected, with the following command:
...does your script do that?Code:dscacheutil -flushcache




LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks