Commit | Line | Data |
---|---|---|
4f44dcb1 C |
1 | .TH HOSTS 5 "15 January 1983" |
2 | .SH NAME | |
3 | hosts \- host name data base | |
4 | .SH DESCRIPTION | |
5 | The | |
6 | .I hosts | |
7 | file contains information regarding | |
8 | the known hosts on the DARPA Internet. | |
9 | For each host a single line should be present | |
10 | with the following information: | |
11 | .HP 10 | |
12 | official host name | |
13 | .br | |
14 | .ns | |
15 | .HP 10 | |
16 | Internet address | |
17 | .br | |
18 | .ns | |
19 | .HP 10 | |
20 | aliases | |
21 | .PP | |
22 | Items are separated by any number of blanks and/or | |
23 | tab characters. A ``#'' indicates the beginning of | |
24 | a comment; characters up to the end of the line are | |
25 | not interpreted by routines which search the file. | |
26 | This file is normally created from the official host | |
27 | data base maintained at the Network Information Control | |
28 | Center (NIC), though local changes may be required | |
29 | to bring it up to date regarding unofficial aliases | |
30 | and/or unknown hosts. | |
31 | .PP | |
32 | Network addresses are specified in the conventional | |
33 | ``.'' notation using the \fIinet_addr\fP() routine | |
34 | from the Internet address manipulation library, | |
35 | .IR inet (3). | |
36 | Host names may contain any printable | |
37 | character other than a field delimiter, newline, | |
38 | or comment character. | |
39 | .SH FILES | |
40 | /etc/hosts | |
41 | .SH "SEE ALSO" | |
42 | gethostent(3N) | |
43 | .SH BUGS | |
44 | A name server should be used instead of a static file. | |
45 | A binary indexed file format should be available for fast access. |