How to display and flush the DNS Resolver Cache on Windows

The DNS Resolver Cache is a temporary storage cache for DNS lookups on your local machine that allows for efficient resolution of recently accessed URLs to IP addresses.

To display the DNS Resolver Cache in Windows enter the following into the command prompt:

> ipconfig /displaydns

You will get an output that looks something like this:

> ipconfig /displaydns

Windows IP Configuration

   play.google.com
   —————————————-
   Record Name . . . . . : play.google.com
   Record Type . . . . . : 28
   Time To Live . . . . . : 118
   Data Length . . . . . : 16
   Section . . . . . . . : Answer
   AAAA Record . . . . . : 2607:f8b0:4009:802::200e
   …

To flush the DNS Resolver Cache in Windows enter the following into the command prompt:

> ipconfig /flushdns

You will get an output that looks like this:

> ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

To verify that the DNS Resolver Cache has been flushed, rerun the display command and you will get the following result:

> ipconfig /displaydns

Windows IP Configuration

 
0
Kudos
 
0
Kudos

Now read this

How to display the IPv6 Neighbor Discovery Table in Windows

To display the Neighbor Discovery Table (ND Table) in Windows enter the following into the command prompt: > netsh interface ipv6 show neighbors On your local machine, windows maps IPv6 addresses to physical addresses (MAC addresses)... Continue →