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
- Hit Windows key and type in cmd (do not hit enter).

- In the search results that come up, right click “cmd” and run as administrator. When the screen flashes and asks for permission, accept it.

- In the command prompt, type in ipconfig /flushdns (or right click and paste it to the command prompt) and hit return.
- You should see the confirmation as shown below:

Flush DNS cache in Windows XP
- Hit Windows+R to bring up the Run dialog box.
- Type cmd and hit ok.
- 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
Related reading
- Vista OS X: Mac OS X-style theme for Windows Vista
- How to find MAC address (Windows Vista)
- How to get Windows 7 calculator on Vista
- Fix COM surrogate error in Windows Vista