Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Whenever I run "ipconfig /displaydns" I get a long list of sites even after running "/flushdns." I thought my results should be empty considering /flushdns. Is this normal behavior? I also noticed that after I run /flushdns and browse the internet for a couple of hours, my list of cached sites doesn't really change. Google.com, for example isn't on the list but a bunch of sites I've never visited do show up in my DNS cache. Can someone explain this?

share|improve this question
    
Can you try it with the network interface disconnected? The cache will get populated as soon as a request is made, so if you have applications that talk to the internet all the time, the list will get populated immediately. –  Paul Apr 11 '12 at 23:47
    
@Paul: Just tried that and it didn't work. –  400_THE_CAT Apr 12 '12 at 1:21
    
What didn't work exactly? –  Paul Apr 12 '12 at 1:25
    
@Paul: I switched my WiFi switch off on my laptop, then I ran /flushdns, then I ran /displaydns and again it showed about 15 sites or so, that I've never even been to. –  400_THE_CAT Apr 12 '12 at 1:27

1 Answer 1

up vote 2 down vote accepted

ipconfig /displaydns will show both cached dns entries from previous lookups, along with any hardcoded DNS names, such as those found in c:\windows\system32\drivers\etc\hosts

Review this file and delete any entries that aren't needed. Usually, only

127.0.0.1       localhost

is required.

share|improve this answer
    
That fixed it. Thanks. –  400_THE_CAT Apr 12 '12 at 2:20

Your Answer

 
discard

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.