Kitten Lane

How to Flush Your Local DNS Cache

If your computer has trouble reaching a certain website this may be due to your local DNS cache, especially if we have recently updated your website. This guide will show you how to clear (“flush”) your local DNS cache for several operating systems.

Windows Vista & Windows 7

  • Click on Start, followed by All Programs, and then Accessories.
  • Right-click on Command Prompt and choose Run as Administrator.
  • In the Command Prompt window type in the following command and press Enter:
    ipconfig /flushdns
  • If all goes well, which it should, you will see the following confirmation message:
    Successfully flushed the DNS Resolver Cache.

Windows XP

  • Click on Start, followed by All Programs, and then Accessories.
  • Click on Command Prompt.
  • In the Command Prompt window type in the following command:
    ipconfig /flushdns
  • and press Enter. You should see the following confirmation message:
    Successfully flushed the DNS Resolver Cache.

Mac OS X 10.5.2 and above

  • Click on the Finder icon in your dock. Open your Applications folder.
  • Inside the Applications folder, click on Utilities and then Terminal.
  • Type the following command in the Terminal window and press Enter:
    dscacheutil -flushcache
  • Do not be alarmed if you do not receive any kind of response from the Terminal window after running the command. This is normal.

Mac OS X 10.5.1 and below

  • Click on the Finder icon in your dock. Open your Applications folder.
  • Inside the Applications folder, click on Utilities and then Terminal.
  • Type the following command in the Terminal window and press Enter:
    lookupd -flushcache

© 2017 Kitten Lane