Flushing local DNS on a Mac

Sometimes a website moves from one host to another but you have to wait a day before you can see it.  Well not anymore.  If you have a Mac, simply open up the Console program and type the following:

sudo lookupd -flushcache

You will need to use the sudo command as this needs to be run as root.  Simply enter your administrator password (assuming you are an administrator on your machine) and you’re done.  Close your browser program and then open the program again and try the address and it should appear, and on the new server.  :-)

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Leave a Reply

You must be logged in to post a comment.