LKBEN11631: How to show the cached DNS entries for your windows 10 system.
Symptom
You need to troubleshoot your DNS.
Cause
Some timeouts for certain applications are occuring.
Solution
To show all the DNS (= Domain Name System) information your system has cached, you can use the following command.
ipconfig /displaydns
The output might be a bit long. If you know what back-end server is causing problems are changed from ip address, it might be better to filter the output.
Here we want to see if "lubby.org" is in our DNS cache.
ipconfig /displaydns | findstr /i "lubby"
lubby.org
Eintragsname . . . . . : lubby.org
So the "lubby.org" server is cached. If, for some reason, the server changed from ip address, this might be a problem and you can start troubleshooting.
If you want to document the DNS cache you can use:
ipdonfig / displaydns | clip
The information is copied into the clipboard and can be documented easily.
Here a part of the output:
...
lubby.org
----------------------------------------
Eintragsname . . . . . : lubby.org
Eintragstyp . . . . . : 1
Gültigkeitsdauer . . . : 65059
Datenlänge . . . . . . : 4
Abschnitt. . . . . . . : Antwort
(Host-)A-Eintrag . . : 70.137.25.69
...
Have fun.
Disclaimer:
The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!About the Author
Author:
- Keskon GmbH & Co. KGWim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.
Latest update: 06.01.2023