Mac OS X – Clearing or flushing the DNS Cache
Once you go to a Web site, or do any DNS lookup, the IP gets cached for quite a while. This becomes a royal pain if you’re a systems administrator who is in the middle of migrating domains from one server to another. Executing the following clears the cache, restarts the caching daemon, and fetches fresh DNS records. And there was much rejoicing…
For Leopard
sudo dscacheutil -flushcache
For Tiger
lookupd -flushcache
(On Windows you do ipconfig /flushdns)





Thanks dude. Was looking how to flush DNS on my snow leopard, it’s the same command as Leopard.
When I attempt to perform this (snow leopard) I get the following:
“Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type “man sudo” for more information.
To proceed, enter your password, or type Ctrl-C to abort.”
What password is it asking for just the system administrator? I entered that and it said that it was incorrect.
Thanks
Use your account password that you use when you login