Clearing DNS Cache on a Mac

If you ever need to clear your DNS cache on your Mac you’ve come to the right place.

DNS is cached on your machine to help speed things up as you browse the same pages, servers, sites, etc by keeping a cache so you don’t have to go through the entire process again every time you visit the same place. Sometimes tho, things get lost in translation and a bad cache or two remain lingering causing troubles for you. Fear not, your SuperHero is here to save the day.

Clearing cache on Yosemite

Open Terminal and run this command:

dscacheutil -flushcache

Clearing cache on Mavericks

Open Terminal and run this command:

dscacheutil -flushcache

To reload DNS type this command:

sudo killall -HUP mDNSResponder

Clearing cache on older versions

Open Terminal and run this command:

lookupd -flushcache
Advertisements

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s