HowTo: Clear DNS Cache in Windows
There may be times when you need to clear your DNS cache. Such times include when you’ve been to your site and there was a DNS change (moving your site to SmooveNET, perhaps?) and the change is not instant. Clearing your DNS cache will allow you to see the DNS changes at an instant.
Get to your command prompt:
Click on Start —> Run and type in command then click on OK.
At the command prompt, you can see what’s in your DNS’s cache by typing:
ipconfig /displaydns
A sample of mine shows:
servedby.smoovenet.com
————————————————————
Record Name . . . . . : servedby.smoovenet.com
Record Type . . . . . : 1
Time To Live. . . . : 6532
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 64.246.17.124
To clear your cache, type in the following:
ipconfig /flushdns
Display your DNS cache and it should show this:
1.0.0.127.in-addr.arpa
————————————————————
Record Name . . . . . : 1.0.0.127.in-addr.arpa.
Record Type . . . . . : 12
Time To Live . . . . : 111512
Data Length . . . . . : 4
Section . . . . . . . : Answer
PTR Record . . . . . : localhost
localhost
————————————————————
Record Name . . . . . : localhost
Record Type . . . . . : 1
Time To Live . . . . : 111512
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 127.0.0.1
As you can see, it shows only your localhost. I’m doing this through Windows XP and am probably sure that it will work with any windows.
Please note that if your ISP has a cached IP record of your old site, then clearing your DNS cache will not help. You will then need to wait for your ISP’s DNS server to update its records. Another option would be to change your DNS server.



