The command ipconfig /flushdns does not clear all entries. Check using ipconfig /displaydns on your side. Here I still have some entries I can’t clear.
Does someone know how to erase all? Thanks.
Use the following command in an elevated command prompt:
net stop dnscache
net stop dnscache
The DNS Client service is stopping.
The DNS Client service was stopped successfully.
ipconfig /displaydns
Windows IP Configuration
Could not display the DNS Resolver Cache.
net start dnscache
Your DNS cache is also automatically populated with whatever is hardcoded into your local hosts file. An ipconfig/flushdns will not remove those entries. In order to verify that your hosts file doesn't have some of these static host name to IP addresses navigate to your &windir&\System32\Drivers\etc\ folder and open the hosts file in Notepad or Wordpad. Ensure that there are no entries or that you comment the entries out with a "#" sign at the beginning of the line.
ipconfig/flushdns then hit enter.
Do this 3 or 4 times in a row (use the F3 key at the command prompt and it will populate the last entry).
Then type in ipconfig/displaydns and you should see the message that there is nothing to display. Ensure that all your browsers are CLOSED before doing this,as it will keep populating the latest entry.
Just try these:
1: Internet modem / router switch off and on. Wait 2-3 minutes.
2: use this command in cmd:
nslookup yourdomain.com
( yourdomain.com means what domain you like to see )
ipconfig /flushdns & ipconfig /displaydns