In previous versions of Mac OS X, I could use this command to flush the DNS resolver cache:
lookupd -flushcache
However, in Mac OS X version 10.5 “Leopard,” this command no longer works! I had an occasion today where I needed to flush the DNS resolver cache due to a configuration error in the lab. Fortunately a quick Google search turned up this page, where I found that the correct command to use in Leopard is this one:
dscacheutil -flushcache
Works like a champ!
Tags: Macintosh, Networking


No comments
Comments feed for this article
Trackback link
http://blog.scottlowe.org/2008/02/04/clearing-the-dns-cache-in-leopard/trackback/