Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am having a problem trying to get the DNS cache without using ipconfig.

I am unable to use the ipconfig tool and was looking for an alternative command line tool to display the DNS cache, just like in this command:

ipconfig /displaydns
share|improve this question
add comment

migrated from stackoverflow.com Jul 20 '11 at 11:28

This question came from our site for professional and enthusiast programmers.

1 Answer

You could try using the netsh command if you're using a newer version of Windows.

Check out this technet article for more information

From the article:

Syntax show dns [[name=]InterfaceName]

Parameters [ name= ] InterfaceName : Specifies the name of the interface whose DNS configuration you want to display. The InterfaceName parameter must match the name of the interface as specified in Network Connections. If InterfaceName contains spaces, use quotation marks around the text (for example, "Interface Name").

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.