What is the DNS cache

Windows DNS Cache - view or clear

Either Show as well as Clear of DNS caches use the command IPCONFIG the Windows command line.
You can also call this up as an alternative to the start button, using the key combination [Windows] + [R].

Clear DNS cache

To clear the DNS cache, do the following:

  1. Press "Start" and use Windows Search to search for "cmd".
  2. Open the input console by pressing the [ENTER] key (also called the Enter key or Return).
  3. Type (copy & paste does not work in the console) the command "ipconfig / flushdns"and press [Enter].
  4. Finished. The DNS cache is cleared.

Simply delete the DNS cache using the Windows command prompt (cmd). Useful when testing connection problems on the Internet or the network configuration. Or if you want to completely erase all traces of your Internet surfing activities (just clearing the browser cache is not enough).


Show DNS cache

In this way, you can see which websites have been visited even after deleting the browser history.

To check out the list of saved Doamin names do the following:

  1. Press "Start" and use Windows Search to search for "cmd".
  2. Open the input console with the [ENTER] key.
  3. Type the command "ipconfig / displaydns"and press [Enter].
  4. Finished. A list of the cached DNS resolution appears in the console window.

Simply display the DNS cache using the Windows command prompt (cmd).

Sometimes there are surprises with which domains your computer contacts (the lines marked in yellow in the screenshot).


What does the DNS cache do?

If a person types something into the address line of the browser, e.g. www.stichpunt.de, then the operating system, browser and router required the so-called name resolution, which is carried out via the DNS (English abbreviation for "Domain Name System").
In simplified terms, the URL in plain text forwarded to special servers (name servers), and they deliver a numeric IP address (e.g. 92.102.203.89).
The computer then works with this IP address, and Windows remembers a certain number of these DNS name resolutions in the DNS cache (see screenshot above). This saves time, because every DNS request must be sent over the line to the Internet and the result must be received.