I changed my router to use Google's public DNS. Now how do I ensure that my router is using Google Public DNS( 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/…
    – user201262
    Aug 5, 2013 at 21:24
  • 2
    Yes but these show my router address each time. I'm not seeing the actual DNS server addres anytime I just keeo seeing 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
    – SoWhat
    Aug 6, 2013 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.
    – user201262
    Aug 7, 2013 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
    – SoWhat
    Aug 7, 2013 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. Aug 7, 2013 at 20:39

2 Answers 2


You can do the following steps:

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

  2. At the prompt, enter:


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, 2015 at 14:16
  • @Zeeshan re-run a couple of times or as admin.
    – Det
    Aug 25, 2017 at 0:24
  • Be very careful of your ISP's transparent proxying. See dnsleaktest.com/what-is-transparent-dns-proxy.html
    – Pacerier
    Aug 31, 2017 at 4:57

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 Sep 9, 2019 at 1:06

You must log in to answer this question.

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