How to clear the dns cache on Mac OS X
On occasions you may be required to clear your dns cache on you mac. This is a simple task and only requires one of 2 commands and access t Terminal.
Locate terminal in the Applications->Utilities folder. Once the app is open you need to enter one of the following commands. The command is ependant upon the version of OS X you are running. If you are upto date and are running OS X 10.5 or above you need to enter this on the command line:
dscacheutil -flushcache
If you are running OS X 10.4 or below then enter this on the command line:
lookupd -flushcache