summaryrefslogtreecommitdiff
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
parentf64356158b432a132c8907afbb81c14afd53ae39 (diff)
Xr resolv.conf, and explain things a bit better
-rw-r--r--share/man/man5/hosts.516
-rw-r--r--share/man/man5/resolv.conf.53
2 files changed, 16 insertions, 3 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"
diff --git a/share/man/man5/resolv.conf.5 b/share/man/man5/resolv.conf.5
index e44aab36036..ec66ea1de07 100644
--- a/share/man/man5/resolv.conf.5
+++ b/share/man/man5/resolv.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: resolv.conf.5,v 1.4 1997/07/15 16:31:02 deraadt Exp $
+.\" $OpenBSD: resolv.conf.5,v 1.5 1998/05/11 23:08:24 deraadt Exp $
.\" $NetBSD: resolv.conf.5,v 1.7 1996/03/06 18:22:16 scottr Exp $
.\"
.\" Copyright (c) 1986, 1991 The Regents of the University of California.
@@ -218,6 +218,7 @@ resides in
.Xr gethostbyname 3 ,
.Xr resolver 3 ,
.Xr hostname 7 ,
+.Xr hosts 5 ,
.Xr named 8
.Rs
.%T "Name Server Operations Guide for BIND"