Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
internet connection problem with windows7

What is the way to know my current DNS server address? My computer's operating system is Windows 7 and I am using a broadband Internet connection. I am currently trying to troubleshoot my Internet connection

share|improve this question

marked as duplicate by Canadian Luke, 8088, BBlake, Randolph West, Renan Oct 12 '12 at 20:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Do you mean Ip address? Or are you actual trying to find which name server you're connection is using? – matt_levesque Oct 12 '12 at 16:16
It sounds like this is your home system, which probably doesn't HAVE a domain. – Shinrai Oct 12 '12 at 16:37
up vote 9 down vote accepted

If you know your public IP address simply enter in a command prompt window:

nslookup <your public IP>

You can also specify the name server to check against by appending it to the above command.

You can get your current IP address from sites like

share|improve this answer
thats seems fine .. but there was some conflict :( pls see the photo any solution? Thanks – rakib Oct 12 '12 at 16:27
@rakib Means there is no public DNS name for you, or your ISP doesn't give one – Canadian Luke Oct 12 '12 at 16:28
@rakib, please try running "ipconfig /all" as that will give you more details on the problem. You are essentially troubleshooting your internet connection, yes? – mrchampe Oct 12 '12 at 16:44
yah .. u got it :) thanks 4 info's – rakib Oct 12 '12 at 16:48
You can just nslookup anything. It doesn't have to be your own IP address. If you don't provide any parameters, the interactive shell will start and will display the active nameserver right at the top. – Oliver Salzburg Oct 12 '12 at 17:26

You want to open "Run" then type


In the command prompt enter this command

C:\>ipconfig /all | findstr /R "DNS\ Servers"

The output should look something like:
enter image description here

share|improve this answer
That shows the DNS server, not the DNS name – Canadian Luke Oct 12 '12 at 16:29
Since he is troubleshooting his internet it seems he wants to verify he is connected to the ISP DNS server. It is unlikely he even has a DNS address, which is shown in the screenshot he shared – mrchampe Oct 12 '12 at 16:54
This should be the accepted answer, since it directly answers the user's question: "my current DNS server address..." However, on my Windows box the DNS Servers come as a group and not all of them are prefixed with the string. ipconfig /all works, though, if you eyeball it. – Mike S Dec 30 '15 at 19:01

Personally, I prefer this approach:

echo | nslookup | findstr "Default\ Server"

It will print the name of your default DNS server in the shell

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .