summaryrefslogtreecommitdiff
path: root/share/man/man5/hosts.5
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 23:08:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 23:08:25 +0000
commit9667bdd111a4ff72e222dba82b0fba7c5503437a (patch)
treeae682198a302249c2de83c6d8b76aaff84d5b21a /share/man/man5/hosts.5
parentf64356158b432a132c8907afbb81c14afd53ae39 (diff)
Xr resolv.conf, and explain things a bit better
Diffstat (limited to 'share/man/man5/hosts.5')
-rw-r--r--share/man/man5/hosts.516
1 files changed, 14 insertions, 2 deletions
diff --git a/share/man/man5/hosts.5 b/share/man/man5/hosts.5
index f870922acc0..ecb2c0b6bb0 100644
--- a/share/man/man5/hosts.5
+++ b/share/man/man5/hosts.5
@@ -57,20 +57,31 @@ tab characters. A ``#'' indicates the beginning of
a comment; characters up to the end of the line are
not interpreted by routines which search the file.
.Pp
+The system configuration file
+.Xr resolv.conf 5
+controls where host name information will be searched for.
+The mechanism provided permits the administrator to describe the
+databases to search; the databases currently known include
+.Xr yp 5 ,
+DNS
+and the
+.Xr hosts 5
+database.
+.Pp
When using the name server
.Xr named 8 ,
this file provides a backup when the name server
is not running.
For the name server, it is suggested that only a few addresses
be included in this file.
-These include address for the local interfaces that
+These include address for the local interfaces that
.Xr ifconfig 8
needs at boot time and a few machines on the local network.
.Pp
This file may be created from the official host
data base maintained at the Network Information Control
Center
-.Pq Tn NIC ,
+.Pq Tn NIC ,
though local changes may be required
to bring it up to date regarding unofficial aliases
and/or unknown hosts. As the data base maintained at
@@ -100,6 +111,7 @@ file resides in
.Sh SEE ALSO
.Xr gethostbyname 3 ,
.Xr ifconfig 8 ,
+.Xr resolv.conf 5 ,
.Xr named 8
.Rs
.%T "Name Server Operations Guide for BIND"