diff options
author | murray <murray@FreeBSD.org> | 2003-12-07 12:32:24 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2003-12-07 12:32:24 +0000 |
commit | 93b87ff9b0c62b50781c5c64ceca2f2662fee9d2 (patch) | |
tree | 1a35bb43b7ac361b9f14caf982706023116c0b51 /share | |
parent | ac33b83fc2706126a74084cba417f5084ff93c1e (diff) | |
download | FreeBSD-src-93b87ff9b0c62b50781c5c64ceca2f2662fee9d2.zip FreeBSD-src-93b87ff9b0c62b50781c5c64ceca2f2662fee9d2.tar.gz |
Add support for timeout: and attempts: resolver options.
Submitted by: Paul Vixie <paul@vix.com> / ISC
MFC After: 1 week
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/resolver.5 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/share/man/man5/resolver.5 b/share/man/man5/resolver.5 index 16320af..535b54e 100644 --- a/share/man/man5/resolver.5 +++ b/share/man/man5/resolver.5 @@ -130,7 +130,7 @@ is one of the following: sets .Dv RES_DEBUG in _res.options. -.It Sy ndots:n +.It Sy ndots: Ns Ar n sets a threshold for the number of dots which must appear in a name given to .Fn res_query (see @@ -146,6 +146,20 @@ 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. +.It Sy timeout: Ns Ar n +sets the amount of time the resolver will wait for a response from a remote +name server before retrying the query via a different name server. Measured in +seconds, the default is +.Dv RES_TIMEOUT +(see +.Pa <resolv.h> ) . +.It Sy attempts: Ns Ar n +sets the number of times the resolver will send a query to its name servers +before giving up and returning an error to the calling application. The +default is +.Dv RES_DFLRETRY +(see +.Pa <resolv.h> ) . .It Sy no_tld_query tells the resolver not to attempt to resolve a top level domain name, that is, a name that contains no dots. Use of this option doesn't prevent |