locked
Win 7 Network name resoloution errors and WHS RRS feed

  • Question

  • Hi all,

    I've recently converted an old desktop into WHS, which all went fine without too many hitches. I then connected up the server using the connector software with a Windows Vista Home Premium laptop, again no issues. The problem comes when I try to install the connector software on another laptop running Windows 7 Home Premium. It looks for all the world like a name resolution error as from the win 7 laptop I can navigate to the remote logon webpage of the server if I type http:\\192.168.1.10 (the IP address of the server) but not if I type http:\\server (the server name). Likewise I can ping the server's IP address but not its name.

    My network is a little complicated but nothing too crazy and clearly works for the Vista PC just fine. I have a Linksys Gateway modem & router which runs DHCP and assigns IP addresses from 192.168.1.100 onwards. I have an old Linksys WRT54G which I flashed the Linksys OS off and installed DD-WRT on, this is running in wireless client bridge mode. I did this so I could put the router three floors up and put wired network access points up to my attic room / study without running an ethernet cable all the way up there. The old desktop that has now become the WHS sits up there wired into the bridging router. DDNS is disabled on both routers. I plan to put a powerline network in as the wifi speeds over three floors aren't great but that is another story...

    Since I'm interested in remote access I have configured the WHS with a static IP of 192.168.1.10. I've then got the gateway to forward the relevant ports through to the static IP. This is all working fine.

    I have tried the following things with the Win7 laptop:
    1) Enabled NetBIOS over TCP/IPv4
    2) Tried using the gateway's IP address (192.168.1.1) as the DNS server under IPv4 – I’ve since turned this back onto automatic
    3) Disabled the other two connections on the laptop

    I thought I'd post the results of ipconfig /all, nslookup and nbtstat –A for each machine (i.e. working Vista machine and non working Win7 maichine) to see if it triggers any insights for anyone

     

    ~~~~~~~~~~~~~~~~

    Win 7 Laptop

    ~~~~~~~~~~~~~~~~

     

    C:\Users\Clare>ipconfig /all

     

    Windows IP Configuration

     

       Host Name . . . . . . . . . . . . : Clare-PC

       Primary Dns Suffix  . . . . . . . :

       Node Type . . . . . . . . . . . . : Hybrid

       IP Routing Enabled. . . . . . . . : No

       WINS Proxy Enabled. . . . . . . . : No

     

    Ethernet adapter Bluetooth Network Connection:

     

       Media State . . . . . . . . . . . : Media disconnected

       Connection-specific DNS Suffix  . :

       Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)

       Physical Address. . . . . . . . . : 00-27-13-36-D2-C5

       DHCP Enabled. . . . . . . . . . . : Yes

       Autoconfiguration Enabled . . . . : Yes

     

    Wireless LAN adapter Wireless Network Connection:

     

       Connection-specific DNS Suffix  . :

       Description . . . . . . . . . . . : Atheros AR9285 802.11b/g/n WiFi Adapter

       Physical Address. . . . . . . . . : 00-22-68-8C-53-48

       DHCP Enabled. . . . . . . . . . . : Yes

       Autoconfiguration Enabled . . . . : Yes

       Link-local IPv6 Address . . . . . : fe80::14c4:476b:e27f:3e97%13(Preferred)

       IPv4 Address. . . . . . . . . . . : 192.168.1.102(Preferred)

       Subnet Mask . . . . . . . . . . . : 255.255.255.0

       Lease Obtained. . . . . . . . . . : 13 February 2010 12:36:00

       Lease Expires . . . . . . . . . . : 14 February 2010 12:36:00

       Default Gateway . . . . . . . . . : 192.168.1.1

       DHCP Server . . . . . . . . . . . : 192.168.1.1

       DHCPv6 IAID . . . . . . . . . . . : 318775912

       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-64-2F-9B-00-21-CC-3F-DF-8C

     

       DNS Servers . . . . . . . . . . . : 212.135.1.36

                                           195.40.1.36

       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. . . . . . . . . : 00-21-CC-3F-DF-8C

       DHCP Enabled. . . . . . . . . . . : Yes

       Autoconfiguration Enabled . . . . : Yes

     

    Tunnel adapter isatap.{FE7628F8-505C-4902-9C2D-26775BC02F97}:

     

       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 Local Area Connection* 12:

     

       Media State . . . . . . . . . . . : Media disconnected

       Connection-specific DNS Suffix  . :

       Description . . . . . . . . . . . : Microsoft 6to4 Adapter

       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

       DHCP Enabled. . . . . . . . . . . : No

       Autoconfiguration Enabled . . . . : Yes

     

    Tunnel adapter isatap.{EB590EC8-F488-4D32-BD02-1D960B14B797}:

     

       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 isatap.{81199537-4F5E-4282-89E4-407C19766A8A}:

     

       Media State . . . . . . . . . . . : Media disconnected

       Connection-specific DNS Suffix  . :

       Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3

       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

       DHCP Enabled. . . . . . . . . . . : No

       Autoconfiguration Enabled . . . . : Yes

     

    Tunnel adapter Teredo Tunneling Pseudo-Interface:

     

       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

       IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:73bc:7e:5e0:a8af:6ef6(Preferr

    ed)

       Link-local IPv6 Address . . . . . : fe80::7e:5e0:a8af:6ef6%16(Preferred)

       Default Gateway . . . . . . . . . : ::

       NetBIOS over Tcpip. . . . . . . . : Disabled

     

    C:\Users\Clare>nbtstat -A 192.168.1.10

     

    Local Area Connection:

    Node IpAddress: [0.0.0.0] Scope Id: []

     

        Host not found.

     

    Bluetooth Network Connection:

    Node IpAddress: [0.0.0.0] Scope Id: []

     

        Host not found.

     

    Wireless Network Connection:

    Node IpAddress: [192.168.1.102] Scope Id: []

     

               NetBIOS Remote Machine Name Table

     

           Name               Type         Status

        ---------------------------------------------

        SERVER         <00>  UNIQUE      Registered

        SERVER         <20>  UNIQUE      Registered

        WORKGROUP      <00>  GROUP       Registered

        WORKGROUP      <1E>  GROUP       Registered

        WORKGROUP      <1D>  UNIQUE      Registered

        ..__MSBROWSE__.<01>  GROUP       Registered

     

        MAC Address = 00-18-F3-E0-35-66

     

     

    C:\Users\Clare>nslookup

    Default Server:  nscache0.ns.easynet.net

    Address:  212.135.1.36

     

    ~~~~~~~~~~~~~~~~

    Vista Laptop

    ~~~~~~~~~~~~~~~~

     

    C:\Users\default.default-PC>ipconfig /all

     

    Windows IP Configuration

     

       Host Name . . . . . . . . . . . . : default-PC

       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 . . . . . . . . . . . : Intel(R) Wireless WiFi Link 4965AGN

       Physical Address. . . . . . . . . : 00-13-E8-D5-EF-C7

       DHCP Enabled. . . . . . . . . . . : Yes

       Autoconfiguration Enabled . . . . : Yes

       Link-local IPv6 Address . . . . . : fe80::3146:3143:12be:f30c%11(Preferred)

       IPv4 Address. . . . . . . . . . . : 192.168.1.104(Preferred)

       Subnet Mask . . . . . . . . . . . : 255.255.255.0

       Lease Obtained. . . . . . . . . . : 12 February 2010 22:03:11

       Lease Expires . . . . . . . . . . : 14 February 2010 10:03:10

       Default Gateway . . . . . . . . . : 192.168.1.1

       DHCP Server . . . . . . . . . . . : 192.168.1.1

       DHCPv6 IAID . . . . . . . . . . . : 268440552

       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-0E-C6-A1-4F-00-1D-72-07-29-5E

     

       DNS Servers . . . . . . . . . . . : 212.135.1.36

                                           195.40.1.36

       NetBIOS over Tcpip. . . . . . . . : Enabled

     

    Ethernet adapter Local Area Connection:

     

       Media State . . . . . . . . . . . : Media disconnected

       Connection-specific DNS Suffix  . :

       Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet

       Physical Address. . . . . . . . . : 00-1D-72-07-29-5E

       DHCP Enabled. . . . . . . . . . . : Yes

       Autoconfiguration Enabled . . . . : Yes

     

    Tunnel adapter Local Area Connection* 9:

     

       Media State . . . . . . . . . . . : Media disconnected

       Connection-specific DNS Suffix  . :

       Description . . . . . . . . . . . : isatap.{54C5CBA9-0D68-4540-82DB-1E16EC6B0

    BB2}

       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

       DHCP Enabled. . . . . . . . . . . : No

       Autoconfiguration Enabled . . . . : Yes

     

    Tunnel adapter Local Area Connection* 11:

     

       Connection-specific DNS Suffix  . :

       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface

       Physical Address. . . . . . . . . : 02-00-54-55-4E-01

       DHCP Enabled. . . . . . . . . . . : No

       Autoconfiguration Enabled . . . . : Yes

       IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:73bc:2471:1ad8:3f57:fe97(Pref

    erred)

       Link-local IPv6 Address . . . . . : fe80::2471:1ad8:3f57:fe97%13(Preferred)

       Default Gateway . . . . . . . . . : ::

       NetBIOS over Tcpip. . . . . . . . : Disabled

     

    Tunnel adapter Local Area Connection* 14:

     

       Media State . . . . . . . . . . . : Media disconnected

       Connection-specific DNS Suffix  . :

       Description . . . . . . . . . . . : isatap.{56DD1A89-E996-44B2-9D4B-0CDB38641

    D96}

       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

       DHCP Enabled. . . . . . . . . . . : No

       Autoconfiguration Enabled . . . . : Yes

     

    C:\Users\default.default-PC>nbtstat -A 192.168.1.10

     

    Local Area Connection:

    Node IpAddress: [0.0.0.0] Scope Id: []

     

        Host not found.

     

    Wireless Network Connection:

    Node IpAddress: [192.168.1.104] Scope Id: []

     

               NetBIOS Remote Machine Name Table

     

           Name               Type         Status

        ---------------------------------------------

        SERVER         <00>  UNIQUE      Registered

        SERVER         <20>  UNIQUE      Registered

        WORKGROUP      <00>  GROUP       Registered

        WORKGROUP      <1E>  GROUP       Registered

     

        MAC Address = 00-18-F3-E0-35-66

     

     

    C:\Users\default.default-PC>nslookup

    Default Server:  nscache0.ns.easynet.net

    Address:  212.135.1.36

    Saturday, February 13, 2010 1:43 PM

Answers

  • Pshark - I didn't mention it in my OP but I did actually try adding the entry to the hosts file. Since I've got static IP set up it is only really a quasi-hack. Howvere I couldn't do this as the Win 7 PC wouldn't let me save the changed file or delete the used file. Should I reboot in safe mode with networking off to edit this file?
    The simplest way to edit the hosts file is to copy it to your desktop. Make the edits to the file on your desktop, save, then copy the file back to its original location. You'll be prompted by UAC to allow replacement of the file. Acknowledge the prompt, then you're done.
    Sunday, February 14, 2010 2:12 PM
  • I'm not seeing them on different subnets - all on 192.168.1.0/24 . Different DNS servers shouldn't really affect this, ping on local subnet should fall back to local name resolution via ARP. Personally I don't like the server hostname of "server". Too many situations where I feel some software may consider things "reserved words" - and the word "server" would qualify in my head.

    Honestly, a super quick fix is adding your server name/ip into your hosts file on client machines. Add an entry of "192.168.1.10 SERVER" and you should be set after reboot. While not ideal, it should always work without fail.
    • Marked as answer by James MacAdie Monday, February 15, 2010 8:34 AM
    Sunday, February 14, 2010 10:12 AM

All replies

  • You don't show any results for ipconfig /all on your server. Also, what response do you get if you try to ping your server by name?
    I'm not on the WHS team, I just post a lot. :)
    Saturday, February 13, 2010 2:59 PM
    Moderator
  • Sorry I Thought I wouldn't spam you with information!

    The Win 7 PC's ping results:

    C:\Users\Clare>ping 192.168.1.10

    Pinging 192.168.1.10 with 32 bytes of data:
    Reply from 192.168.1.10: bytes=32 time=2ms TTL=128
    Reply from 192.168.1.10: bytes=32 time=2ms TTL=128
    Reply from 192.168.1.10: bytes=32 time=2ms TTL=128
    Reply from 192.168.1.10: bytes=32 time=2ms TTL=128

    Ping statistics for 192.168.1.10:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 2ms, Maximum = 2ms, Average = 2ms

    C:\Users\Clare>ping server
    Ping request could not find host server. Please check the name and try again.

    And the Server's IPCONFIG:

    C:\Documents and Settings\Administrator>ipconfig /all

    Windows IP Configuration

       Host Name . . . . . . . . . . . . : server
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Unknown
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection:

       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Marvell Yukon 88E8053 PCI-E Gigabit Ether
    net Controller
       Physical Address. . . . . . . . . : 00-18-F3-E0-35-66
       DHCP Enabled. . . . . . . . . . . : No
       IP Address. . . . . . . . . . . . : 192.168.1.10
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 192.168.1.1
       DNS Servers . . . . . . . . . . . : 192.168.1.1

    Ethernet adapter Local Area Connection 2:

       Media State . . . . . . . . . . . : Media disconnected
       Description . . . . . . . . . . . : Marvell Yukon 88E8053 PCI-E Gigabit Ether
    net Controller #2
       Physical Address. . . . . . . . . : 00-18-F3-E0-5C-46

    Saturday, February 13, 2010 3:11 PM
  • Your server and your other PCs seem to be on different subnets (you have different DNS servers configured). You will need to correct that.

    Is your server configured to use static IP addressing, or a DHCP reservation (which I doubt)?

    You may also have problems with network segmentation, since you're using a wireless bridge from one floor to another. Consider running a cable...
    I'm not on the WHS team, I just post a lot. :)
    Saturday, February 13, 2010 6:19 PM
    Moderator
  • I did already try setting the DNS server for the Win 7 PC to 192.168.1.1 (i.e the same as the server) but no dice. I guess I am a bit confused as to why the vista pc has the same external DNS IPs and hooks up to the server absolutely fine. The server also seems quite happy behind two routers as it has already done its first windows update cycle and I've RDP'd into the server from an external computer (work).

    The cable up three floors solution won't work for me as my wife would not tolerate wires running through all the corridors in the house, come to think of it neither would I! I would be willing to try it out to see if it solves the problem but my gut feel is still that this is a problem on the Win 7 laptop and there are some setting I should be anble to amend to get it all working.
    Saturday, February 13, 2010 8:02 PM
  • I agree that the problem is more likely to be on the client; I'm just pointing out that there are some issues with your network configuration that can cause problems.

    One other thing I noticed: one of your laptops is the master browser on your network. That's likely to have something to do with your problem as well. In my own home, I have a small Linux box that serves as WINS, DNS, etc. server, so I have very robust name resolution. In a normal environment with Windows Home Server, your server should win any election, but for some reason it's not doing so.

    Try shutting off the laptop that's identifying as the master browser, wait 15 minutes, and see who winds up winning the election. Then restart the laptop, wait, and see who's the browse master.
    I'm not on the WHS team, I just post a lot. :)
    Saturday, February 13, 2010 9:58 PM
    Moderator
  • I'm not seeing them on different subnets - all on 192.168.1.0/24 . Different DNS servers shouldn't really affect this, ping on local subnet should fall back to local name resolution via ARP. Personally I don't like the server hostname of "server". Too many situations where I feel some software may consider things "reserved words" - and the word "server" would qualify in my head.

    Honestly, a super quick fix is adding your server name/ip into your hosts file on client machines. Add an entry of "192.168.1.10 SERVER" and you should be set after reboot. While not ideal, it should always work without fail.
    • Marked as answer by James MacAdie Monday, February 15, 2010 8:34 AM
    Sunday, February 14, 2010 10:12 AM
  • Also, were are you seeing the laptop as the master browser? It's showing the master browser registered off on 192.168.1.10 which is the WHS server as appropriate.
    Sunday, February 14, 2010 10:20 AM
  • Apologies for for being so slow as you can probaby tell I'm pretty new to all this networking malarkey. I'm not sure how you identify a machine as master browser so I don't think I can really action your point Ken, Could please elaborate as to which setting exactly I'm looking for here?

    Pshark - I didn't mention it in my OP but I did actually try adding the entry to the hosts file. Since I've got static IP set up it is only really a quasi-hack. Howvere I couldn't do this as the Win 7 PC wouldn't let me save the changed file or delete the used file. Should I reboot in safe mode with networking off to edit this file?

    The linux DSN server box sounds interesting if a bit of over kill for a three machine netwrok. Where do you get them from; are they off the shelf is is it a self build? If the price is reasonable, I am interested in doing things properly rather than hacking solutions...
    Sunday, February 14, 2010 10:26 AM
  • Pshark - I didn't mention it in my OP but I did actually try adding the entry to the hosts file. Since I've got static IP set up it is only really a quasi-hack. Howvere I couldn't do this as the Win 7 PC wouldn't let me save the changed file or delete the used file. Should I reboot in safe mode with networking off to edit this file?
    The simplest way to edit the hosts file is to copy it to your desktop. Make the edits to the file on your desktop, save, then copy the file back to its original location. You'll be prompted by UAC to allow replacement of the file. Acknowledge the prompt, then you're done.
    Sunday, February 14, 2010 2:12 PM
  • Mark - thanks for the advice that worked just perfectly. I've voted for you as helpful beacuse I don't think I can mark both replies up as the answer.

    Pshark - editing the hosts file has done the job so thanks. Like you said it is a bit of a hack and I would like to know how to get the network set up properly in the first place so that you didn't have to edit a text file from the 70's but I'm all online now so I guess my interest will fade...

    Thanks for all the responses and time taken by all, you have been very helpful.

    James
    Monday, February 15, 2010 8:39 AM
  • Yep. Hosts file (and anything under the Windows directory) requires UAC to modify/delete/replace. Alternative is to right-click on notepad -> choose run as administrator -> then once notepad is opened click file -> open -> browse to hosts file and edit/save. I usually forget until it's time to save, but again the trick is to open notepad/wordpad AHEAD of time in administrator mode, then open your file from the GUI.
    Wednesday, February 17, 2010 1:37 AM