Articles on: Network

How DNS Caches Work and How to display DNS ?

How DNS Caches Work and How to display DNS ?

Before a browser issues its requests to the outside network, the computer operating system intercepts each one and looks up the domain name in the DNS cache database.
The database, stored in the computer's temporary memory, contains a list of all recently accessed Internet domain names and the addresses that DNS calculated for them the first time a request was made for them.

The contents of a local DNS cache can be viewed on Windows using the command :
ipconfig /displaydns

An example entry from the cache looks like this :


In DNS, the A record is the portion of the DNS entry that contains the IP address for the given host name.

The DNS cache stores this address, the requested Website name, and several other parameters from the host DNS entry as shown.

This example also illustrates that the DNS cache stores results for not only the one URL that a user specifies in their initial request, but also all the other related URLs that make up that Web page (including third-party advertising elements).

Updated on: 21/06/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!