View a DNS client resolver cache
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
You can use the ipconfig /displaydns command to view the contents of the Domain Name System (DNS) client resolver cache, which includes entries that are preloaded from the local Hosts file, as well as any recently obtained resource records for name queries that were resolved by the system. This information is used by the DNS Client service to quickly resolve frequently queried names before it queries its configured DNS servers.
When you use the ipconfig /displaydns command to display current resolver cache contents, the resultant output generally includes the local host and loopback Internet Protocol (IP) address (127.0.0.1) mappings. This is because these mappings typically exist in the default (unmodified) contents of the local Hosts file.
To view a DNS client resolver cache
At a command prompt, type the following command, and then press ENTER:
ipconfig /displaydns