12.12.2008

Clearing the DNS cache in OS X

Every once in a great while, I find it necessary to flush my DNS cache. Usually, I only find it necessary to do this after making changes to DNS when at the office, but when attempting to diagnose some interesting Internet connectivity issues, it can occasionally come in quite handy.

I couldn't find anything obvious, but, after a moment's googling, I came across this little gem.

Anyway, here's the command:

dscacheutil -flushcache

Cheers!

No comments:

Post a Comment