How-To: Clear DNS Resolver Cache · Monday February 18, 2008
On Windows 2000/XP/Vista, run this command from a DOS prompt:
ipconfig /flushdns
On Mac OS X 10.1 – 10.4 open /Applications/Utilities/Terminal.app and execute this command:
sudo lookupd -flushcache
On Mac OS X “Leopard” 10.5+ open /Applications/Utilities/Terminal.app and execute this command:
sudo dscacheutil -flushcache
Reboot your computer, and your operating system’s DNS cache should be cleared.
— Ryan J. Bonnell