Like this CertiGuide? Get it in PDF format!
Click Here!
Use coupon code "certiguide" to save 20%!
(Expires 2004/12/31)

NEW! Network+ N11-003 2005 Beta Exam Study Guide - Just $9!
Get It Here!

Custom Search







Table Of Contents  CertiGuide to Network+
 9  Chapter 0101:  TCP/IP
      9  V  Name Resolution

Previous Topic/Section
Static Mapping with Text Files
Previous Page
Pages in Current Topic/Section
1
Next Page
LMHOSTS
Next Topic/Section

Hosts File

The text based HOSTS file was the first method introduced to handle this translation on TCP/IP networks.

Pound Sign

The Pound Sign
# is used to enter any text comments in a HOSTS file. This is used just as the REM in batch files or the semi colon (;) in the registry.

This (the
#) can be used to leave notes to remind you or someone else what is happening in a file.


HOSTS files (called /etc/hosts on Linux and UNIX) are manually created and are a simple listing file. This is an example of a hosts file which contains only one entry, the local loopback address, 127.0.0.1. All other lines beginning with the # character are comments.

# Copyright ã 1993-1995 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows NT.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
local host

Previous Topic/Section
Static Mapping with Text Files
Previous Page
Pages in Current Topic/Section
1
Next Page
LMHOSTS
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to Network+ from StudyExam4Less.com. (Use coupon code "certiguide" by December 31, 2004 to save 20%!) Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

CertiGuide for Network+ (http://www.CertiGuide.com/netplus/) on CertiGuide.com
Version 1.0 - Version Date: November 7, 2004

Adapted with permission from a work created by Tcat Houser and Helen O’Boyle.
CertiGuide.com Version © Copyright 2004 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.