Wednesday, December 22, 2010

Flush DNS cache under Mac OS X

I had a problem today which requires to flush local DNS cache under Mac OS X.
Maybe will be useful for somebody. Command should be executed from terminal:

dscacheutil -flushcache

Under older versions of Mac OS X command could look like:

lookupd -flushcache