Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My router reset and my ip address changed. DynDNS was updated with the new address automatically. But windows still pings the old address.

How do I clear the DNS cache in Windows Vista?

share|improve this question
up vote 13 down vote accepted

You can do that with the command:

ipconfig /flushdns

edit: You need to first write


into the search box. That will open a command prompt.

share|improve this answer
Excellent! Just what I needed :-) – Stevko Apr 15 '10 at 20:35
My pleasure! :-) – Diskilla Apr 15 '10 at 20:45
Worth noting that this needs to be done from an elevated command prompt if you have UAC enabled. If you simply put the command in the start menu box you would see a cmd window flash and quite possibly miss the error message and then wonder why it didn't work. – ThatGraemeGuy Apr 15 '10 at 22:06
I editeed my Answer beacause of Graeme´s valid objection. – Diskilla Apr 16 '10 at 7:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.