diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2012-10-02 06:31:48 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2012-10-02 06:31:48 +0000 |
commit | 2f38bb252d46bc4c4bd69c69e6b7b0e63c0dce80 (patch) | |
tree | 32aed0813871adfca25189db565f7c80ea824627 /share | |
parent | 54998f4aa26f79eb872f0091bf6feaa2845c4aec (diff) |
some small tweaks to improve the text:
- move the file format stuff into a more logical grouping
- use an ENVIRONMENT section
- remove the Rs block. it was incorrect, and not really worth updating
input/ok krw
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/resolv.conf.5 | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/share/man/man5/resolv.conf.5 b/share/man/man5/resolv.conf.5 index 636103204fc..c3ae8511681 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.35 2012/10/01 16:38:23 jmc Exp $ +.\" $OpenBSD: resolv.conf.5,v 1.36 2012/10/02 06:31:47 jmc 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. @@ -30,7 +30,7 @@ .\" .\" @(#)resolver.5 5.12 (Berkeley) 5/10/91 .\" -.Dd $Mdocdate: October 1 2012 $ +.Dd $Mdocdate: October 2 2012 $ .Dt RESOLV.CONF 5 .Os .Sh NAME @@ -91,10 +91,14 @@ file may be useful on notebooks, to search multiple domains, to refer to hard-coded information in local files, or otherwise override the defaults. .Pp +A keyword and its values must appear on a single line, and the keyword (e.g.\& +.Sy nameserver ) +must start the line. +The value follows the keyword, separated by whitespace. A hash mark -.Ql # +.Pq # or semicolon -.Ql \&; +.Pq \&; in the file indicates the beginning of a comment; subsequent characters up to the end of the line are not interpreted by the routines that read the file. @@ -284,33 +288,27 @@ and keywords are mutually exclusive. If more than one instance of these keywords is present, the last instance will override. -.Pp -The +.Sh ENVIRONMENT +.Bl -tag -width "RES_OPTIONSXXX" +.It Ev LOCALDOMAIN +A space-separated list of search domains, +overriding the .Sy search keyword of a system's .Nm resolv.conf or .Nm resolv.conf.tail -file can be overridden on a per-process basis by setting the -environment variable -.Ev LOCALDOMAIN -to a space-separated list of search domains. -.Pp -The +file. +.It Ev RES_OPTIONS +A space-separated list of resolver options, +overriding the .Sy options keyword of a system's .Nm resolv.conf or .Nm resolv.conf.tail -file can be amended on a per-process basis by setting the -environment variable -.Ev RES_OPTIONS -to a space-separated list of resolver options as explained above. -.Pp -The keyword and value must appear on a single line, and the keyword (e.g.\& -.Sy nameserver ) -must start the line. -The value follows the keyword, separated by whitespace. +file. +.El .Sh FILES .Bl -tag -width "/etc/resolv.conf.tailXX" -compact .It Pa /etc/resolv.conf @@ -324,9 +322,6 @@ The value follows the keyword, separated by whitespace. .Xr dhclient-script 8 , .Xr dhcp 8 , .Xr named 8 -.Rs -.%T "Name Server Operations Guide for BIND" -.Re .Sh HISTORY The .Nm |