1HOSTS(5)                      File Formats Manual                     HOSTS(5)
2
3
4

NAME

6       hosts - host name data base
7

DESCRIPTION

9       The  hosts  file  contains information regarding the known hosts on the
10       network.  For each host a single line should be present with  the  fol‐
11       lowing information:
12
13       official host name
14       Internet address
15       aliases
16
17       Items  are  separated by any number of blanks and/or tab characters.  A
18       ``#'' indicates the beginning of a comment; characters up to the end of
19       the line are not interpreted by routines which search the file.
20
21       When  using  the name server named(8), this file provides a backup when
22       the name server is not running.  For the name server, it  is  suggested
23       that  only  a  few  addresses  be included in this file.  These include
24       address for the local interfaces that ifconfig(8C) needs at  boot  time
25       and a few machines on the local network.
26
27       This file may be created from the official host data base maintained at
28       the Network Information Control Center (NIC), though local changes  may
29       be  required to bring it up to date regarding unofficial aliases and/or
30       unknown hosts.  As the data base maintained at NIC is  incomplete,  use
31       of the name server is recommend for sites on the DARPA Internet.
32
33       Network  addresses  are  specified  in  the conventional ``.'' notation
34       using the inet_addr() routine from the  Internet  address  manipulation
35       library,  inet(3N).   Host  names  may  contain any printable character
36       other than a field delimiter, newline, or comment character.
37

FILES

39       /etc/hosts
40

SEE ALSO

42       gethostbyname(3N), ifconfig(8C), named(8)
43       Name Server Operations Guide for BIND
44
45
46
474.2 Berkeley Distribution        May 14, 1986                         HOSTS(5)
Impressum