Clear your DNS cache in OSX

Posted on 19/02/2015 by Neil Skoglund

Learn how to Clear your DNS cache in OSX

Carry on reading to find out how to clear your DNS cache in OSX

About the DNS cache

If you are having trouble viewing a newly created website, or are seeing an old version of your website, your mac may not be using the current DNS entries from your server, if this is the case, you can wait it out - usually an hour or two, however - it's simple to clear your DNS cache and pull the latest entries.

Carry on reading below to find out how to clear the cache on your OS X system.

Open a Terminal Window

Open a Terminal window by pressing the command key and space

 

 

OS X Yosemite

Enter the command below in your Terminal to reset the DNS cache:

[code]sudo discoveryutil mdnsflushcache[/code]

OS X Mavericks, Mountain Lion, and Lion

Enter the command below in your Terminal to reset the DNS cache:

[code]sudo killall -HUP mDNSResponder[/code]

Mac OS X v10.6

Enter the command below in your Terminal to reset the DNS cache:

[code]sudo dscacheutil -flushcache[/code]

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© Copyright 2019 FreshSites Limited. Registered in England and Wales no. 7812509
Website Design by Pyxal
Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites Clear your DNS cache in OSX | FreshSites