Export (0) Print
Expand All

View a DNS client resolver cache

Updated: March 2, 2005

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 ( 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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft