Skip to content


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

Posted in Miscellaneous. Tagged with , .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.

Powered by WP Hashcash