summaryrefslogtreecommitdiff
path: root/share/man/man5/hosts.5
diff options
context:
space:
mode:
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"