So you want to clear the DNS cache on Mac OS X Mavericks through the now-current Mac OS 26? Well, Mac OS since ‘Mavericks’ has some DNS changes under the hood. Unlike previous versions, to effectively clear the cache you need to execute these two commands in Terminal:
dscacheutil -flushcache;sudo killall -HUP mDNSResponder
Add this as an alias to your .profile under something easy to remember like ‘flushdns’ and you’re good to go!
Now you know how to clear the DNS cache on Mac OS.
0 Comments
1 Pingback