Can you please tell me what each field of the Windows command
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
The fields in the output of
/displaydns correspond to the fields of an actual DNS reply.
<type>record" shows the actual value stored.
ipconfig /help says that this "Displays the contents of the DNS Resolver Cache".
The DNS resolver is what turns a domain name, like superuser.com, into an IP address, 220.127.116.11 for superuser.com.
This can take a second or two, but because IP addresses change infrequently the resolver caches (aka "saves") these entries locally on your computer. This means that the next time you make a connection to superuser.com, your computer doesn't need to make an external request for the IP address and the conversion from domain name to IP address is done in milliseconds instead of seconds.
/displaydns option shows what is currently saved. This can be useful when a site seems not to be responding. It will be used more for technical types (and superusers) than average users.
Record Name . . . . . : cached name
Record Type . . . . . : Record type I don't know which records types are cached exactly
Time To Live . . . . : TTL
Data Length . . . . . : ?? A records 4, CNAME usually 8, I didn't find info about this. Maybe IPv6 records have a different one.
Section . . . . . . . : Usually "Answer", there is an "Additional" section also
A (Host) Record . . . : IPv4 address
CNAME Record . . . . : domain (will check the address of this domain instead of the domain, CNAME records can have a very long TTL so its useful to avoid unnecessary queries.
That command displays your "local" DNS cache that is stored in Windows, this makes browsing faster because it keeps records for any website you have visited before, on your local hard drive, which means the browser does not have to wait for a DNS server out on the internet to resolve the address and pass that information back to your browser.