Name Resolution Using the Hosts File
The final method of name resolution is via a hosts file. This is a simple text file that contains a list of IP addresses, and the FQDNs they correspond to. Windows NT, 2000, XP and 2003 have 2 versions of the hosts file, hosts and lmhosts, which can be found in the C:\WinNT\System32\Drivers\etc directory (or C:\Windows\System32\Drivers\etc for Windows XP and 2003).
Typically there is little need to use a hosts file, and DNS or WINS should always be used in preference. Microsoft provide another file, lmhosts.sam, that contains extensive information on the syntax and use of a hosts file. It can be found in the same directory as the hosts file.
Home - Table Of Contents - Contact Us
CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005
Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.