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?


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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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