how to clear Window DNS cache

7

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?

Stevko

Posted 2010-04-15T19:50:55.290

Reputation: 417

Answers

13

You can do that with the command:

ipconfig /flushdns

edit: You need to first write

cmd

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

Diskilla

Posted 2010-04-15T19:50:55.290

Reputation: 1 516

Excellent! Just what I needed :-) – Stevko – 2010-04-15T20:35:28.760

My pleasure! :-) – Diskilla – 2010-04-15T20:45:45.763

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 – 2010-04-15T22:06:57.550

I editeed my Answer beacause of Graeme´s valid objection. – Diskilla – 2010-04-16T07:34:47.397