Jul 14, 2010
How to flush your dns cache in OS X

From time to time you may need to flush the dns cache on your mac. I had recently moved a site from one host to another, and while the nameservers at the various levels returned the new IP address, my browser still looked to the old IP address.
To resolve issues like this, (in Leopard) open a terminal and type in
> dscacheutil -flushcache
The same issue is resolved in 10.5.1 and earlier, open a terminal and type
> lookupd -flushcache