How to Clear Your DNS Cache Print

  • 1

How to Clear Your DNS Cache

Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. If the location of the page changes before the entry in your DNS cache is updated, you will be unable to access the page. 

If you are encountering a high number of HTML 404 error codes, you may need to flush your DNS cache. Once you clear your DNS cache, your computer will query nameservers for the new DNS information you require. 

For more information about the HTML 404 error code, please visit the HTML 404 wikipedia article

The methods detailed below allow you to remove old and inaccurate DNS information that may result in 404 errors.

Windows XP, 2000, Vista, or Windows 7

  1. Click the Start button
  2. Choose Run
    • If you do not see the Run command in Vista or Windows 7 search for "run" in the Search bar.
  3. In the Run text box, type: ipconfig /flushdns
  4. Press Enter or Return, and your cache will be flushed.

MacOS

  1. Go to Applications.
  2. Go to Utilities.
  3. Open the Terminal application.
  4. Type: dscacheutil -flushcache
  5. Press Enter or Return, and your cache will be flushed.

Was this answer helpful?

« Back