11

I changed my router to use Google's public DNS. Now how do I ensure that my router is using Google Public DNS(8.8.8.8) to connect. How do I check what DNS server is being used to connect to the Internet for any service. I am using Windows 7

  • 1
    This has been asked multiple times on superuser and is very easy to find information via web search. superuser.com/questions/486921/… – Moses Aug 5 '13 at 21:24
  • 2
    Yes but these show my router address each time. I'm not seeing the actual DNS server addres 8.8.8.8 anytime I just keeo seeing 192.168.1.1 I am not sure if the router is using the new nameservers OpenDNS I remember used to have this feature where they could tell if you opened a webpage – Somesh Mukherjee Aug 6 '13 at 4:05
  • If your computer is showing your router's address for the DNS, then that's exactly what you want. The router is using Google's DNS, and your PC is referring to the router for which servers to use. – Moses Aug 7 '13 at 3:34
  • i just need a way to be sure. I switched because DNS lookups on a lot of sites were failing. Some DNS lookups still fail, although the number has gone down. just need to be sure – Somesh Mukherjee Aug 7 '13 at 3:36
  • 2
    If you see your router address as the DNS for your computer, then you need to log into your router's control panel and look at what DNS entries it is using. – Darth Android Aug 7 '13 at 20:39
18

You can do the following steps:

  1. Start up the command prompt (Win + R, enter cmd and press Enter).

  2. At the prompt, enter:

    nslookup
    

The program should display the name and IP address of the default DNS server being used.

  • 1
    I am using opendns IP addresses in my router, and nslookup on my Windows computer shows this: DNS request timed out. timeout was 2 seconds. Default Server: UnKnown Address: fe80::1 – Zeeshan Jan 13 '15 at 14:16
  • @Zeeshan re-run a couple of times or as admin. – Det Aug 25 '17 at 0:24
  • Be very careful of your ISP's transparent proxying. See dnsleaktest.com/what-is-transparent-dns-proxy.html – Pacerier Aug 31 '17 at 4:57
4

I know this is an old question, but I thought I can help with another answer.

I don't completely agree with the answer above. nslookup will show you what DNS you are "supposed" to be using but not necessarily the real DNS you are using. You can configure your computer to use a DNS but your router can hijack the DNS call. In that same note, you can set your router to use a DNS and your service provider can hijack the DNS calls to use their DNS server. (I use a linksys router with tomato firmware in it and with iptables rules I am hijacking all DNS calls to use OpenDNS as the DNS service provider.) If you really want to know what DNS server you are using, I recommend you to google "DNS leak test" and test your DNS. Here is one test you can run: https://www.dnsleaktest.com/

  • I'd never heard of dnsleaktest.com before but that is such a great tool. +1 – pseudosavant Sep 9 at 1:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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