BSD 4_3_Reno development
[unix-history] / usr / share / man / cat5 / hosts.0
CommitLineData
3922de1d
C
1
2
3
4HOSTS(5) 1990 HOSTS(5)
5
6
7
8N\bNA\bAM\bME\bE
9 hosts - host name data base
10
11D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
12 The _\bh_\bo_\bs_\bt_\bs file contains information regarding the known
13 hosts on the network. For each host a single line should be
14 present with the following information:
15
16 official host name
17 Internet address
18 aliases
19
20 Items are separated by any number of blanks and/or tab char-
21 acters. A ``#'' indicates the beginning of a comment; char-
22 acters up to the end of the line are not interpreted by rou-
23 tines which search the file.
24
25 When using the name server _\bn_\ba_\bm_\be_\bd(8), this file provides a
26 backup when the name server is not running. For the name
27 server, it is suggested that only a few addresses be
28 included in this file. These include address for the local
29 interfaces that _\bi_\bf_\bc_\bo_\bn_\bf_\bi_\bg(8C) needs at boot time and a few
30 machines on the local network.
31
32 This file may be created from the official host data base
33 maintained at the Network Information Control Center (NIC),
34 though local changes may be required to bring it up to date
35 regarding unofficial aliases and/or unknown hosts. As the
36 data base maintained at NIC is incomplete, use of the name
37 server is recommend for sites on the DARPA Internet.
38
39 Network addresses are specified in the conventional ``.''
40 notation using the _\bi_\bn_\be_\bt__\ba_\bd_\bd_\br() routine from the Internet
41 address manipulation library, _\bi_\bn_\be_\bt(3N). Host names may con-
42 tain any printable character other than a field delimiter,
43 newline, or comment character.
44
45F\bFI\bIL\bLE\bES\bS
46 /etc/hosts
47
48S\bSE\bEE\bE A\bAL\bLS\bSO\bO
49 gethostbyname(3N), ifconfig(8C), named(8)
50 Name Server Operations Guide for BIND
51
52
53
54
55
56
57
58
59
60
61
62
63Printed 7/27/90 June 1
64
65
66