Windows 7 can't connect to DNS

30
2014-04
  • user212457

    I have no issues using my iphone or other devices that are wirelessly connected to the same network, however my Windows 7 machine is unable to resolve the url.

    For example:

    ping www.google.ca results in a timeout but pinging the same IP address directly, works fine.
    I can also use IP addresses in the browser and that also works.
    There is nothing wrong with the DNS server being used (default from my provider) as my other devices that are also connected via WiFi without any further customizations of proxies.

    I have tried rebooting the router
    I have tried rebooting the Window 7 box(which seems to be default fix for Windows issues)
    I have tried ipconfig /renew, nothing..

    Here is the content of ipconfig /all

    C:\Windows\system32>ipconfig /all
    
    Windows IP Configuration
    
       Host Name . . . . . . . . . . . . : nelson-PC
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Broadcast
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : home
    
    Ethernet adapter Local Area Connection 3:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : TAP-Win32 Adapter V9
       Physical Address. . . . . . . . . : 00-FF-0C-A5-F2-7B
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
    
    Wireless LAN adapter Wireless Network Connection:
    
       Connection-specific DNS Suffix  . : home
       Description . . . . . . . . . . . : Dell Wireless 1397 WLAN Mini-Card
       Physical Address. . . . . . . . . : 70-1A-04-C5-4F-36
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::f5a6:68ff:2444:8611%11(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.2.10(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : March-29-13 6:08:06 AM
       Lease Expires . . . . . . . . . . : April-01-13 7:11:12 AM
       Default Gateway . . . . . . . . . : 192.168.2.1
       DHCP Server . . . . . . . . . . . : 192.168.2.1
       DHCPv6 IAID . . . . . . . . . . . : 225450500
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-A6-44-56-A4-BA-DB-9E-D9-2C
    
       DNS Servers . . . . . . . . . . . : 10.8.0.1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    
    Ethernet adapter Local Area Connection:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . : home
       Description . . . . . . . . . . . : Marvell Yukon 88E8040 PCI-E Fast Ethernet Controller
       Physical Address. . . . . . . . . : A4-BA-DB-9E-D9-2C
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
    
    Tunnel adapter isatap.{0CA5F27B-202E-4F57-9AE1-C5C859EB816A}:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    
    Tunnel adapter isatap.home:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . : home
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    

    Other Diagnostics

    C:\Windows\system32>tracert google.ca
    Unable to resolve target system name google.ca.
    

    using the ip address instead

    C:\Windows\system32>tracert 173.194.75.94
    
    Tracing route to 173.194.75.94 over a maximum of 30 hops
    
      1     2 ms     2 ms     1 ms  GATEWAY [192.168.2.1]
      2    13 ms    13 ms    14 ms  64.230.200.230
     ... and so on...
    
    
    C:\Windows\system32>nslookup.exe
    DNS request timed out.
        timeout was 2 seconds.
    Default Server:  UnKnown
    Address:  10.8.0.1
    

    Any suggestions? It seems to me that I need to do something on Windows to unblock this. I have already disable the Windows Firewall (the only one that is installed). Anything else I can check?

  • Answers
  • Col

    The address for the DNS server appears to be on a private network, have you set it manually? Most home routers would set it to the router in your case 192.168.2.1. Personally I prefer to use opendns you can get their addresses from the bottom of their home page.

  • Hennes

    Your network card is set to this IP: 192.168.2.1
    Your DNS server is at 10.8.0.1

    Those are RFC 1918 addresses.

    Normal public IPs are supposed to be routed on the Internet. RFC 1918 addresses are supposed to be used internally and never ever reach the public Internet. Many routers are sensibly programmed not to route them.

    Thus this will not work, unless unless you have at least two networks at home:

    • Network the 192.168.2.x (assuming /24)
    • and network 10.8.0.x (also traditional the /24's)
    • And your home router has entries in the routing tables for these two.

    If you are trying to use a nameserver from somewhere else, that nameserver needs to:

    • Either be publicly reachable (Not using a RFC 1918 address, but a normal public IP)
    • Or you need a tunnel or a VPN to that network.


    To confirm this is a problem:

    1. Try reaching the server at 10.8.0.1.
      The traditional command to test this is ping 10.8.0.1. It is not the only way to test and some weirdos block ICMP echo request out of outdated worm protection idea. (Outdated since it no longer works. Worms coder have adapted to that).
      Keypojnt is that if you can not reach it then you can not use it to resolve DNS queries either.
    2. Try another nameserver (8.8.8.8 is a publicly available nameserver, test with that).

    If neither of those work, try adding the routing table from your network (not the PC, the router) to the OP.


  • Related Question

    windows 7 - Connected to wireless network, but no Internet
  • Andrea

    Here's my problem. I have a Netgear WGR614v6 wireless router and was able to set up the wireless network (I can send documents to my printer wirelessly), but I cannot connect to the Internet through the router. I have no problems when I connect the computer directly to the modem. When I attempt to connect through the router both wirelessly and by the Ethernet cable I have no Internet access. My wireless connection status says there is no IPv4 nor IPv6 internet access. Both are set to obtain an IP and DNS Server address automatically. Signal quality on the wireless router is excellent. I have tried power-cycling the router and modem with no luck.

    This is what I have when I did ipconfig /all:

       Host Name . . . . . . . . . . . . : xxxxxxx
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
    
    Wireless LAN adapter Wireless Network Connection:
    
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Realtek RTL8187SE Wireless LAN PCIE Netwo
    rk Adapter
       Physical Address. . . . . . . . . : 70-F1-A1-D1-DC-3F
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::5153:b143:acf7:3e8d%13(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Friday, November 12, 2010 5:16:05 PM
       Lease Expires . . . . . . . . . . : Saturday, November 13, 2010 5:16:05 PM
       Default Gateway . . . . . . . . . : 192.168.1.1
       DHCP Server . . . . . . . . . . . : 192.168.1.1
       DHCPv6 IAID . . . . . . . . . . . : 242282913
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-BC-31-9A-88-AE-1D-4E-23-15
    
       DNS Servers . . . . . . . . . . . : 192.168.1.1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    
    Ethernet adapter Local Area Connection:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
       Physical Address. . . . . . . . . : 88-AE-1D-4E-23-15
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
    
    Tunnel adapter isatap.{4BEE441B-C244-4642-AE71-745D1199E5DE}:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    
    Tunnel adapter isatap.{9A2C832A-3E88-42DB-8D70-FFA7F014AFC6}:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    
    Tunnel adapter Teredo Tunneling Pseudo-Interface:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    

    The first day I set up the router I was able to get Internet wireless and by Ethernet through the router. But since then (2 weeks) I've been having this problem. I am using Windows 7. Any help would be much appreciated.


  • Related Answers
  • ultrasawblade

    Try completely resetting the router, i.e. hold any reset button down for 30 seconds, or log into the management interface and use any "Reset to Default"-like options.

    As far as taking an actual look at your issue, it might be a DNS issue. Check to be sure your getting the right DNS servers via DHCP and that they are reachable. Alternatively, you can try disabling ipv6 if you don't need it.

  • MHrappstead

    Try updating the firmware on the router

  • user55325

    I suspect it is, as @ultrasawblade noted, a DNS issue - try going to http://74.125.95.105 and if you get Google, you need to add your DNS servers to your router. DNS is the system that allows you to resolve domain names to IP addresses. There are lots of free public DNS servers - most ISPs have their own, but some popular ones can be found here: http://theos.in/windows-xp/free-fast-public-dns-server-list/

  • KronoS

    First off, I've had terrible luck with NetGear Routers, and would highly recommend not using them. With that said however, try following these steps:

    1. Unplug the power cords completely from both the router and the cable modem (Leave the cable and CAT5 cables connected.

    2. Plug back in the cable modem and wait for ALL connections to be initiated (at least 2 mins)

    3. Plug back in the Router and wait for ALL connection to be initiated

    4. Try your internet connection

    This was the process that I had to go through on a regular basis with my old netgear router.

    If this doesn't work, then I suggest borrowing or purchasing a new router to test and see if the issue really is the router. Other things to try is changing and double checking the CAT5 cables connecting the router and the modem. They do get used and over time can be broken. (Although I doubt this is the issue)

  • Andrea

    Okay, I FINALLY got it to work. What I did was I went into the Router Manager and completely reset it as ultrasawblade suggested. I had tried this previously and it did not work. However, this time around I did not go through the initial set up and left all the settings as is, with the exception of changing the security settings. Not sure what was different, but it did the trick. Thanks everyone.