20090325

Hosts file or LMHosts file, what’s the difference? 

from: http://www.tek-tips.com/faqs.cfm?fid=807
An LMHOSTS file specifies the NetBIOS computer name and IP address mappings; a HOSTS file specifies the DNS name and IP address. On a local computer, the HOSTS file (used by Windows Sockets applications to find TCP/IP host names) and LMHOSTS file (used by NetBIOS over TCP/IP to find NetBIOS computer names) can be used to list known IP addresses mapped with corresponding computer names. LMHOSTS is used for name resolution in Windows 95 for internetworks where WINS is not available.
·    The HOSTS file is used as a local DNS equivalent to resolve host names to IP addresses.
·    The LMHOSTS file is used as a local WINS equivalent to resolve NetBIOS computer names to IP addresses.
To take advantage of HOSTS or LMHOSTS, DNS must be enabled on the computer.
Sample versions of LMHOSTS and HOSTS files are added to the Windows NT \systemroot\System32\drivers\Etc directory when you install Microsoft TCP/IP.
 

No comments:

Post a Comment