Windows Does Not Parse LMHOSTS File with DNS Enabled

ID: Q137856


The information in this article applies to:


SYMPTOMS

Windows does not parse the LMHOSTS file if DNS (Domain Name System) is enabled.


CAUSE

Windows does not parse the LMHOSTS file to obtain the IP addresses of other computers if DNS is enabled. Therefore, a Windows workstation cannot connect to servers listed in the LMHOSTS file.


RESOLUTION

To work around this problem, preload the LMHOSTS entries into the NetBIOS name cache using the #PRE option in the LMHOSTS file. For information about the syntax for the #PRE option, please see the Lmhosts.sam sample file in the Windows folder.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Windows.

Additional query words: 98


Keywords          : kbnetwork msnets win95 
Version           : 95 98
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: January 22, 1999