This article was previously published under Q119372
This article has been archived. It is offered "as is" and will no longer be updated.
The Microsoft TCP/IP-32 stack uses various means to resolve a host name toan IP address of a given host. Four mechanisms are used; Local CachedInformation, Hosts File, DNS Servers, and NetBIOS name resolutionmechanisms. The default resolution order for resolving a host name is LocalCached Information -> Hosts File -> DNS Servers -> NetBt (NetBIOS overTCP/IP). NetBIOS over TCP/IP name resolution can consist of local subnetbroadcasts.
Under most circumstances, the default resolution order does not need to bechanged. However, if a change is necessary there are SYSTEM.INI parametersthat you can use to alter this default behavior. This is done by using thefour parameters: LocalPriority, HostsPriority, DnsPriority, andNetbtPriority. These parameters are Specified in the [DNS] section of theSYSTEM.INI file. Valid values can be between -32768 and 32767. The lowerthe value, the higher the priority in the search order. If you specify anyof these parameters in the SYSTEM.INI, only those parameters specified willtake effect, and none of the other resolution methods will be used.
[DNS] DnsPriority=1 HostsPriority=2
Will search the configured DNS server first, followed by the local HOSTSfile. Local Cached Information and NetBIOS name resolution mechanisms wouldnot be used.