Skip to Content
OpenView Network Node Manager: Designing and Implementing an Enterprise Solution
book

OpenView Network Node Manager: Designing and Implementing an Enterprise Solution

by John Blommers
September 2000
Intermediate to advanced content levelIntermediate to advanced
352 pages
6h 41m
English
Pearson
Content preview from OpenView Network Node Manager: Designing and Implementing an Enterprise Solution

The History of /etc/hosts

Historically, systems on the Internet used the file HOSTS.TXT to propagate host IP addresses and name information. This is a plain text file that is searched from beginning to end for each forward lookup (a name is provided and an IP address is returned) or an inverse lookup (an IP address is provided and a name is returned). The file format for HOSTS.TXT and /etc/hosts is given in Figure 2-1.

Figure 2-1. The format of /etc/hosts.

The fields are delimited by white space. Field 1 is the IP address. Field 2 is the formal name of the system. Additional fields (up to the comment character #) are alias names for this device. An optional comment is allowed after the # sign.

 ip_address name alias_names # comment 15.24.44.65 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HP OpenView System Administration Handbook: Network Node Manager, Customer Views, Service Information Portal, HP OpenView Operations

HP OpenView System Administration Handbook: Network Node Manager, Customer Views, Service Information Portal, HP OpenView Operations

Tammy Zitello, Deborah Williams, Paul Weber

Publisher Resources

ISBN: 0130198498Purchase book