When a Windows based system queries a DNS server, the response is either positive (a match was found) or negative (no match was found). The Operating System stores these results in a local DNS cache so that local clients don’t repeatedly query the DNS server for the same address. These DNS cache entries are known as DNS resource records, and the DNS resolver always checks the local cache before it queries the DNS server.
To view the current DNS resolver cache content and the entries preloaded from the hosts file:
- Go to command prompt
- Type ‘ipconfig /displaydns’ and press enter
To clear cache:
- Go to command prompt
- Type ‘ipconfig /flushdns’ and press enter







