Announcement

Collapse
No announcement yet.

NetBIOS name resolution not using HOSTS file and DNS

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • NetBIOS name resolution not using HOSTS file and DNS

    Target - Test Windows Name Resolution Process and Hierarchy being followed

    ISSUE - Steps 6 and 7 (of section --> Windows Methods of Resolving NetBIOS Names) not being carried out
    http://technet.microsoft.com/en-us/l...7013.aspx#EFAA

    Setup:-
    WINS Server - 11.0.0.111 / 8
    DNS Server - 11.0.0.1 / 8

    Two XP DNS Clients Exist
    S1-xp-01 - 11.0.0.51 / 8
    S2-xp-01 - 15.0.0.51 / 8



    S1-xp-01 /etc/hosts contents excerpt:
    15.0.0.51 s2-xp-01.s2.com



    S1-xp-01 Details:-

    1) As it's using WINS - thereby has Hybrid Node.
    2) Using DNS Server - 11.0.0.1 / 8
    3) Winsock - Service Provider - all values at default.


    S2-xp-01 Details:-
    1) Doesn't uses WINS Server listed above.
    2) Winsock - Service Provider - all values at default.



    Now, at S1-xp-01 Console, we try to resolve NETBIOS NAME "s2-xp-01".
    Wireshark trace reveals that
    1) First WINS Server is contact'd which replies with a Negative Answer.
    2) Secondly, NBNS Broadcasts is carried out, which fails as s2-xp-01" is at remote subnet.

    Now as per above documentation, our local client should consult /etc/hosts file, and the DNS Server,
    but no such activity is being carried by our client.

    This might be solution, http://support.microsoft.com/kb/142309 | but this GUI interface is
    not there at XP | might the RegKeys associated with this GUI option solve the ISSUE

    So, how to get these 6 and 7 STEPS working ???
    Last edited by harmandeep; 4th March 2012, 12:38. Reason: errata
    Blog: http://VirtualizationMaximus.com
    OS ... VirTuaLiZaTioN ... MaxiMuS ... Fair, Good, Better, Best



  • #2
    Re: NetBIOS name resolution not using HOSTS file and DNS

    lmhosts for netbios.
    Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

    Comment


    • #3
      Re: NetBIOS name resolution not using HOSTS file and DNS

      For advanced Windows Clients (Win 2000 and later) you should expect the following behavior:

      Host name resolution
      • Verifies against its own host name (HOSTNAME)
      • Looks at the client's local DNS cache (IPCONFIG /displayDNS)
      • Searches the HOSTS file (%systemroot%\system32\drivers\etc\)
      • Query a DNS Server (as per client TCP/IP configuration)
      • Query WINS Server (for H-Node clients: as per client TCP/IP configuration)
      • Sends out a Broadcast on the local subnet
      • Searches the LMHOSTS file (%systemroot%\system32\drivers\etc\)


      NetBIOS name resolution
      • Verifies if it is the local machine by its registered name NetBIOS name.
      • Looks at its NetBIOS name cache (NBTSTAT -n)
      • Query WINS Server (for H-Node clients: as per client TCP/IP configuration)
      • Sends out a Broadcast on the local subnet
      • Searches the LMHOSTS file (%systemroot%\system32\drivers\etc\)
      • Searches the HOSTS file (%systemroot%\system32\drivers\etc\)
      • Query a DNS Server (as per client TCP/IP configuration)
      JM @ IT Training & Consulting
      http://www.itgeared.com

      Comment


      • #4
        Re: NetBIOS name resolution not using HOSTS file and DNS

        Solved - hxxp://www.minasi.com/forum/topic.asp?TOPIC_ID=38914
        Blog: http://VirtualizationMaximus.com
        OS ... VirTuaLiZaTioN ... MaxiMuS ... Fair, Good, Better, Best


        Comment

        Working...
        X