There may be instances when you are experience name resolution issues on your TCP/IP network and you need to use Lmhosts files to resolve NetBIOS names.
Add the following entries to the Lmhosts file:
- 10.0.0.1 PDCName #PRE #DOM:Domain name
- 10.0.0.1 "Domainname 0x1b" #PRE
NOTE: Spacing of these entries is imperative.
Replace 10.0.0.1 with the IP address of your primary domain controller (PDC), PDCName with the NetBIOS name of your PDC, and Domain with your Windows NT domain name.
There must be a total of 20 characters within the quotations (the domain name plus the appropriate number of spaces to pad up to 15 characters plus the backslash plus the NetBIOS hex representation of the service type).
To help determine where the 16th character is, copy the following line to your LMHOSTS file:
- # IP Address "123456789012345*7890"
Line up the double quotes (") by adding or removing spaces from the comment line, and place them on the 16th column (the column marked with the asterisk). You must use SPACES after the name and before the , not a tab.
This was first published in June 2001