hotComm Logo

FlushDNS

Document number: fdfaq 2
Copyright (c) 2010 1stWorks Corporation. All rights reserved.


The ipconfig /flushdns command clears your DNS cache when you restart your computer. This may help if you are unable to get to web sites that you should be able to reach.

Note: the ipconfig /displaydns command can be used with the same instructions to show what you currently have in your DNS cache.

This article gives instructions for Windows XP, Vista, and Windows 7:




Flush DNS (XP)

To flush DNS on Windows XP:

1. Click Windows Start, then click Run.

2. In the Open: field type CMD, then click OK. The Windows Command Console (black DOS window) will appear.

3. At the blinking cursor, type ipconfig /flushdns

4. Press Enter on the keyboard.

5. At the blinking cursor, type: exit. This closes the Windows Command Console window.

6. Restart your computer.






Flush DNS (Vista and Windows 7)

To flush DNS in Vista or Windows 7:

1. Click the Windows Start button, select All Programs, then Accessories, then Command Prompt.

Important Note! if you have UAC on, right-click Command Prompt and select Run As Administrator.

Why: In Vista and Windows 7, if you have UAC on, many command prompt operations require Run As Administrator, or you get the "The requested operation requires Elevation" message.

2. At the blinking cursor, type: ipconfig /flushdns and then press the Enter key.

3. At the blinking cursor, type: exit. This closes the Windows Command Console window.

4. Restart your computer.


Top

Edited: 7/26/10