editing mac osx 10.4 hosts file
Posted on 2009-02-10
Hi, I've been trying in vain to edit the mac osx hosts file. I've tried the following so far:
edit the host file in /etc: I put in the ip address and the website address all the way at the bottom of the file and save it. Then I do the following as instructed on several websites:
$ sudo niutil -create . /locations/lookupd/hosts
$ sudo niutil -createprop . /locations/lookupd/hosts LookupOrder FFAgent DNSAgent
$ sudo killall lookupd
After all this, i even restarted the machine, and it still doesn't work. Any ideas?