Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change NetBios Name Resolution Order

Status
Not open for further replies.

cocroftc

Technical User
Jun 16, 2003
6
US
Would like to modify our XP Pro clients to skip over HOST and LMHOSTS and go directly to WINS for name resolution.
Setting this key HKLM\System\CurrentControlSet\Services\TCIip\ServiceProvider\ Dword value for NetbtPriority to a lower value does not seem to help. Thanks.
 
If you are talking about NetBios Name resolution. The default order is

1. Netbios name cache
2. WINS server
3. B-node broadcast
4. Lmhosts file
5. Hosts file
6. DNS server

HostName resolution is a tad different

Host name resolution order
1. Local host name
2. Hosts file
3. DNS server
4. WINS Server
5. Broadcast
6. LMHosts file


David Ball CNE, MCSE
 
Source:
NBT
All of the NBT parameters are registry values located under one of two different subkeys of
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ServicesNetbt\Parameters

NodeType
Key: Netbt\Parameters
Value Type: REG_DWORD - Number
Valid Range: 1,2,4,8 (B-node, P-node, M-node, H-node)
Default: 1 or 8 based on the WINS server configuration
Description: This parameter determines what methods NetBT will use to register and resolve names. A B-node system uses broadcasts. A P-node system uses only point- to-point name queries to a name server (WINS). An M-node system broadcasts first, then queries the name server. An H-node system queries the name server first, then broadcasts. Resolution via LMHOSTS and/or DNS, if enabled, will follow the these methods. If this key is present it will override the DhcpNodeType key. If neither key is present, the system defaults to Bnode if there are no WINS servers configured for the network. The system defaults to Hnode if there is at least one WINS server configured.
 
dball63,

I depends on the node type.
Please see my thread entries for resolution order differences.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top