Knowledge Essentials - 3Essentials Hosting

Clearing DNS caching on PC/Mac

Article ID: 1674

 Back to Search

Have you made an IP change to your site/hosting services, but your computer is still seeing the old IP?  DNS information (the resolution of the hostname/domain name to an IP address) can be cached at multiple levels:
  • Your PC/MAC will cache DNS info.
  • Your applications (like a web browser) can cache DNS info. 
  • Your ISP's DNS servers will cache info.

Information on clearing DNS cached info in your PC/MAC and in your web-browser is provided below.   Information on DNS caching by ISPs can be found here:

- Clearing Browser Caches -
The following instructions are for Internet Explorer, however the same process in general can be applied to any web browser (Chrome, Firefox, Safari) by just finding the same options in those browsers.
a. close all instances of your web browser except 1
b. with that last browser, click Tools, Internet Options
c. On the General tab, click Delete Cookies
d. On the General tab, click Delete Files > Delete All Offline Content/All Files
e. on the General tab, click OK to close the Interet Options window.
f. Close this last instance of your browser (browsers can retain their own DNS cache which is only purged when the application is actually closed).
g. reopen the browser, and try your action again.

- Clearing Windows DNS cache -
a. open a CMD prompt (click START, RUN, type the following in the run box: CMD <ENTER>
b. a CMD prompt window should have opened. 
c. in the CMD prompt type the following: ipconfig /flushdns <ENTER>

- Clearing Mac DNS cache -
On Mac OS X 10.1 – 10.4
a. open /Applications/Utilities/ and execute this command:
sudo lookupd -flushcache

(the sudo may or may not be needed)

On Mac OS X “Leopard” 10.5+:
a) open /Applications/Utilities/ and execute this command:
sudo dscacheutil -flushcache

(the sudo may or may not be needed)

Alternatively, rebooting your PC or Mac should generally clear all cached DNS information.
Downloads Associated With This Article
No downloads are currently associated with this article.