How to flush DNS cache in Windows XP / Vista

ADVERTISEMENT

DNS request are cached by your operating system to speed up lookups. If you need to clear DNS cache for some reason(like testing your blog in a new host), you need to know the correct commands to be entered in the command prompt / terminal. We had shared the command to clear DNS cache in Mac OS X, here is the simple command line shortcut to do it in Windows.

ADVERTISEMENT

Flush DNS cache in Windows Vista

  1. Hit Windows key and type in cmd (do not hit enter).
    Flush DNS cache in Windows
  2. In the search results that come up, right click “cmd” and run as administrator. When the screen flashes and asks for permission, accept it.
    Flush DNS cache in Windows
  3. In the command prompt, type in ipconfig /flushdns (or right click and paste it to the command prompt) and hit return.
    Flush DNS cache in Windows
  4. You should see the confirmation as shown below:
    Flush DNS cache in Windows

Flush DNS cache in Windows XP

  1. Hit Windows+R to bring up the Run dialog box.
  2. Type cmd and hit ok.
  3. In the command prompt that comes up, enter ipconfig /flushdns and hit return.
To get our latest articles, click here to sign up for our free email newsletter or subscribe to RSS feed

§ Leave a Reply