Quick Tip: Clear DNS Cache in Mac OS X
March 24th, 2007 - Command Line, Mac OS X, Tips & Tricks
Anytime you visit a website or do any other kind of DNS lookup, the IP address conveniently gets cached. Well what’s convenient for most of us can be a real nuisance for others, particularly administrators who are moving around servers. Here’s a quick tip that Systems Administrators (and others) will surely appreciate. To clear the DNS cache in Mac OS X, at the Terminal type the following:
lookupd -flushcache
in Mac OS X Leopard and later, use this instead:
dscacheutil -flushcache
Posted by: Editor

Order Mac OS X 10.6 Snow Leopard today from Amazon.com - $25!

Write a comment