Flushing DNS Cache on Mac OS X

07/15/2008

by Ron Valente

In the name of performance Apple has in Tiger and Leopard decided that cacheing DNS lookups locally was a good idea. Normally it is, but when you are debugging DNS problems or changing DNS records it can be quite a pain if you forget about it. Well as long as you remember, its simple enough to clear the cache:

Tiger

lookupd -flushcache

Leopard

dscacheutil -flushcache

Source: http://www.opendns.com/support/article/209

blog comments powered by Disqus