NetBIOS name resolution not using HOSTS file and DNS

Home Forums Client Operating Systems Windows 2000 Pro, XP Pro NetBIOS name resolution not using HOSTS file and DNS

This topic contains 3 replies, has 3 voices, and was last updated by Avatar Anonymous 8 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Avatar
    harmandeep
    Member
    #157961

    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/library/bb727013.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 ???

    tehcamel
    tehcamel
    Moderator
    #358659

    Re: NetBIOS name resolution not using HOSTS file and DNS

    lmhosts for netbios.

    Avatar
    Anonymous
    #376254

    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%system32driversetc)
    • 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%system32driversetc)

    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%system32driversetc)
    • Searches the HOSTS file (%systemroot%system32driversetc)
    • Query a DNS Server (as per client TCP/IP configuration)
    Avatar
    harmandeep
    Member
    #338863

    Re: NetBIOS name resolution not using HOSTS file and DNS

    Solved – hxxp://www.minasi.com/forum/topic.asp?TOPIC_ID=38914

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.