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 using Comcast. And my router is set up to acquire DNS server automatically. How can I find out the IP address of the DNS server used by my router? I am using Windows. Is there some Windows command that I can use?

share|improve this question

migrated from serverfault.com Dec 21 '09 at 0:43

This question came from our site for system and network administrators.

    
If your device also handles DNS it's more than a router. –  andol Dec 20 '09 at 20:42

5 Answers 5

up vote 13 down vote accepted

You can do one of two things:

  1. If your router is just passing Comcast's DNS servers then you can issue an ipconfig /all at the command line and it will tell you (Comcast's servers would be 68.xx.xx.xx not 192.168.xx.xx)

  2. If your router is passing itself as the DNS server, then you should be able to go on the router's admin interface status page and see what DNS servers it got from comcast's DHCP server.

share|improve this answer
    
Thanks! I followed (2) and found the IP through the router's admin interface. –  thebat Dec 21 '09 at 6:20
    
If I'm behind a router that acts as a DNS, and then I set my own DNS on my network adapter, does this overwrite the Router? –  CMCDragonkai Jun 16 at 5:43

Running the recently released Namebench will tell you what DNS server you're using and will also tell you if there are faster ones available.

Word of warning it takes a few minutes to run, but the results are enlightening.

share|improve this answer
    
I tried this. But it says that my DNS server is 192.168.1.1 –  thebat Dec 21 '09 at 6:19

I can't find the link right now but there are DNS-based domains which will accept a query and return the IP address of the requesting DNS server as the "resolved" answer. They won't report all your configured DNS servers but they could be useful when you don't have access to the DNS box.

A web-based page which include this info is http://www.dnsstuff.com/tools/aboutyou/

share|improve this answer

You can use the nslookup command to check DNS resolution.
Open a cmd terminal window (Start -> cmd > run). Type:
nslookup www.google.com
The first two lines are the domain server you are using

In my case:
C:> nslookup www.google.com
Server: cns.sanjose.ca.sanfran.comcast.net
Address: 68.87.76.182
[...]

my dns is 68.....

share|improve this answer
    
This just tells me 192.168.1.1 because we're still behind a router. –  CMCDragonkai Jun 16 at 5:46

Start-Run-Cmd

ipconfig /all

This should list your DNS servers properly. These are the ones used by your computer, passed on to you by your Comcast cable modem / router.

share|improve this answer
    
Many SOHO routers don't pass on the upstream DNS servers to their clients via DHCP. –  Alnitak Dec 20 '09 at 19:39

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.