How-To

How To Flush The DNS Cache In Windows 7

flush dns cacheA Domain Name System (DNS) is the database of web addresses and what IP address they correlate to.  When your internet browser resolves one of these addresses, Windows stores that data in a cache to improve performance the next time you visit the said domain name.  This works out to your benefit most of the time, but it also prevents any changes made to this system from appearing immediately.  The easiest way to fix that is simply to empty the DNS, here’s how.

Step 1 – Launch cmd

Click the Windows Start Menu Orb and Type cmd into the search box.  Right-Click the cmd link that appears under the Programs list and Select Run as administrator.

run cmd administrator

Step 2

In the command line, type in the following command:

ipconfig /flushdns

flushdns in ipconfig

Done!

Your cache of resolved DNS’ should now be cleaned out!  This is really handy if you were making changes to the HOSTS file in Windows or messing around with your web server, but there are plenty of other uses as well.

1 Comment

1 Comment

  1. Palaniscl

    January 21, 2011 at 5:43 am

    I think u missed 1 final step,

    ipconfig /registerdns
    to get new dns table

Leave a Reply

Your email address will not be published.

 

To Top