Tip of the Day - Clearing Local Resolver Cache

Posted by Ben Allen Mon, 21 Jan 2008 04:55:00 GMT

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

Trackbacks

Use the following link to trackback from your own site:
http://www.sysadminschronicles.com/trackbacks?article_id=tip-of-the-day-clearing-local-resolver-cache&day=20&month=01&year=2008

Comments

Leave a comment

Comments