summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-15 20:05:16 +0000
committerpeter <peter@FreeBSD.org>1997-05-15 20:05:16 +0000
commita39eb136c4e6f8f1305f74bec60afd76e7381993 (patch)
tree65568d85c2ed4d40c995b722b30b3c9edc68e1ba /share/man
parent6d6d2c4e4ee05a2cbee73a45761bd378d8afea09 (diff)
downloadFreeBSD-src-a39eb136c4e6f8f1305f74bec60afd76e7381993.zip
FreeBSD-src-a39eb136c4e6f8f1305f74bec60afd76e7381993.tar.gz
Forgot to commit this after last bind/resolver update
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/resolver.553
1 files changed, 49 insertions, 4 deletions
diff --git a/share/man/man5/resolver.5 b/share/man/man5/resolver.5
index 0fe0a83..124640a 100644
--- a/share/man/man5/resolver.5
+++ b/share/man/man5/resolver.5
@@ -30,9 +30,9 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)resolver.5 8.1 (Berkeley) 6/5/93
-.\" $Id$
+.\" $Id: resolver.5,v 1.3 1997/03/07 03:28:05 jmg Exp $
.\"
-.Dd June 5, 1993
+.Dd November 11, 1993
.Dt RESOLVER 5
.Os BSD 4
.Sh NAME
@@ -89,8 +89,7 @@ domain is assumed.
.It Sy search
Search list for host-name lookup.
The search list is normally determined from the local domain name;
-by default, it begins with the local domain name, then successive
-parent domains that have at least two components in their names.
+by default, it contains only the local domain name.
This may be changed by listing the desired domain search path
following the
.Sy search
@@ -105,6 +104,52 @@ for one of the domains.
.Pp
The search list is currently limited to six domains
with a total of 256 characters.
+.It Sy sortlist
+Sortlist allows addresses returned by gethostbyname to be sorted.
+A sortlist is specified by IP address netmask pairs. The netmask is
+optional and defaults to the natural netmask of the net. The IP address
+and optional network pairs are separated by slashes. Up to 10 pairs may
+be specified.
+.Pp
+e.g. sortlist 130.155.160.0/255.255.240.0 130.155.0.0
+.It Sy options
+Options allows certain internal resolver variables to be modified.
+The syntax is
+.Pp
+-\fBoptions\fP \fIoption\fP \fI...\fP
+.Pp
+where
+.Sy option
+is one of the following:
+.Pp
+.Bl -tag -width nameserver
+.It Sy debug
+sets
+.Dv
+RES_DEBUG
+in _res.options.
+.It Sy ndots:n
+sets a threshold for the number of dots which must appear in a name given to
+.Fn res_query
+(see
+.Xr resolver 3 )
+before an
+.Em initial absolute query
+will be made. The default for
+.Em n
+is
+.Dq 1 ,
+meaning that if there are any dots in a name, the name
+will be tried first as an absolute name before any
+.Em search list
+elements are appended to it.
+.Pp
+The
+.Sy domain
+and
+.Sy search
+keywords are mutually exclusive.
+.El
.El
.Pp
The
OpenPOWER on IntegriCloud