×
×

Flush DNS in Mac OSX

Back

In Mac OSX 10.6 or greater, the command dscacheutil -flushcache flushes the DNS resolver cache:

dscacheutil -flushcache

In Mac OSX versions 10.5 and before, the command lookupd -flushcache performs the same task:

lookupd -flushcache