There have been a number of times when I’ve wanted to know what exactly is in my system’s DNS cache (creating new subdomains, messing with hosts file, etc.). Here’s the trick in Windows to seeing it. Run the command ipconfig /displayDNS from a command prompt like so:
C:\>ipconfig /displayDNS
Windows IP Configuration
t.googlepreview.com
----------------------------------------
Record Name . . . . . : t.googlepreview.com
Record Type . . . . . : 1
Time To Live . . . . : 1108
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 85.214.75.114
Record Name . . . . . : ns11.domaincontrol.com
Record Type . . . . . : 1
Time To Live . . . . : 1108
Data Length . . . . . : 4
Section . . . . . . . : Additional
A (Host) Record . . . : 64.202.165.115
Record Name . . . . . : ns12.domaincontrol.com
Record Type . . . . . : 1
Time To Live . . . . : 1108
Data Length . . . . . : 4
Section . . . . . . . : Additional
A (Host) Record . . . : 208.109.255.6
digg.com
----------------------------------------
Record Name . . . . . : digg.com
Record Type . . . . . : 1
Time To Live . . . . : 704
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 64.191.203.30
This list will be pretty long most likely, and if for some reason you ever need to flush it, keep this command handy:
C:\>ipconfig /flushdns Windows IP Configuration Successfully flushed the DNS Resolver Cache.
These commands should be good for any recent Windows operating system, so give them a try.