A quick tip: Automatize DNS flushing in Mac OS X

6074664 56866060D9 OIf you’d like to automatize DNS flushing in OS X, open applescript editor and type:

tell application "Terminal"
activate
do script "sudo lookupd -flushcache"
end tell

Save everything as application bundle and you are ready to use it. If you are 10.5+ user, use dscacheutil -flushcache instead of lookupd -flushcache.

Leave a Reply