diff --git a/bin/dig/dig.1 b/bin/dig/dig.1 index 09c93f0766b9a00882c780bc1ddf483aed418f28..aab108cba24cbad36b1280dabcadca2b948871eb 100644 --- a/bin/dig/dig.1 +++ b/bin/dig/dig.1 @@ -638,7 +638,9 @@ be used when resolving this query\&. .PP \fB+[no]tcp\fR .RS 4 -Use [do not use] TCP when querying name servers\&. The default behavior is to use UDP unless an +Use [do not use] TCP when querying name servers\&. The default behavior is to use UDP unless a type +any +or ixfr=N query is requested, in which case the default is TCP\&. AXFR queries always use TCP\&. .RE diff --git a/bin/dig/dig.html b/bin/dig/dig.html index 42708dd33612c68100d7825829b268ef5e88baba..8d05268a5827380eea1d7ec4733dba7a207bde9d 100644 --- a/bin/dig/dig.html +++ b/bin/dig/dig.html @@ -844,10 +844,10 @@

Use [do not use] TCP when querying name servers. The - default behavior is to use UDP unless an - ixfr=N query is requested, in which - case the default is TCP. AXFR queries always use - TCP. + default behavior is to use UDP unless a type + any or ixfr=N + query is requested, in which case the default is TCP. + AXFR queries always use TCP.

+timeout=T
diff --git a/bin/dig/host.1 b/bin/dig/host.1 index ea1d81a3b26c3bd4571ed7f1b0921f8607de8caa..22dc509381ab84ab4eb86177236dc59fa0bcec70 100644 --- a/bin/dig/host.1 +++ b/bin/dig/host.1 @@ -39,7 +39,7 @@ host \- DNS lookup utility .SH "SYNOPSIS" .HP \w'\fBhost\fR\ 'u -\fBhost\fR [\fB\-aACdlnrsTwv\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-N\ \fR\fB\fIndots\fR\fR] [\fB\-R\ \fR\fB\fInumber\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-W\ \fR\fB\fIwait\fR\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [\fB\-v\fR] [\fB\-V\fR] {name} [server] +\fBhost\fR [\fB\-aACdlnrsTUwv\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-N\ \fR\fB\fIndots\fR\fR] [\fB\-R\ \fR\fB\fInumber\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-W\ \fR\fB\fIwait\fR\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [\fB\-v\fR] [\fB\-V\fR] {name} [server] .SH "DESCRIPTION" .PP \fBhost\fR @@ -190,13 +190,14 @@ If a query type of IXFR is chosen the starting serial number can be specified by \fB\-t \fR\fBIXFR=12345678\fR)\&. .RE .PP -\-T +\-T, \-U .RS 4 -TCP: By default, +TCP/UDP: By default, \fBhost\fR uses UDP when making queries\&. The \fB\-T\fR -option makes it use a TCP connection when querying the name server\&. TCP will be automatically selected for queries that require it, such as zone transfer (AXFR) requests\&. +option makes it use a TCP connection when querying the name server\&. TCP will be automatically selected for queries that require it, such as zone transfer (AXFR) requests\&. Type ANY queries default to TCP but can be forced to UDP initially using +\fB\-U\fR\&. .RE .PP \-m \fIflag\fR diff --git a/bin/dig/host.html b/bin/dig/host.html index 0f0891d8e978032d8599ea9fb4a4e8ac113e9bf1..ca420ec589f279279391bebdc613f48fb4d0b3bb 100644 --- a/bin/dig/host.html +++ b/bin/dig/host.html @@ -33,7 +33,7 @@

Synopsis

host - [-aACdlnrsTwv] + [-aACdlnrsTUwv] [-c class] [-N ndots] [-R number] @@ -231,15 +231,18 @@ (like -t IXFR=12345678).

-
-T
+
+-T, -U +

- TCP: + TCP/UDP: By default, host uses UDP when making queries. The -T option makes it use a TCP connection when querying the name server. TCP will be automatically selected for queries that require it, such - as zone transfer (AXFR) requests. + as zone transfer (AXFR) requests. Type ANY queries default + to TCP but can be forced to UDP initially using -U.

-m flag
diff --git a/bin/dig/nslookup.1 b/bin/dig/nslookup.1 index a690fafcd53dba05556c46af4bcf6db1d579370e..701e5bd43807f18b6fc162acd2fecfcd939e5857 100644 --- a/bin/dig/nslookup.1 +++ b/bin/dig/nslookup.1 @@ -1,4 +1,4 @@ -.\" Copyright (C) 2004-2007, 2010, 2013-2016 Internet Systems Consortium, Inc. ("ISC") +.\" Copyright (C) 2004-2007, 2010, 2013-2017 Internet Systems Consortium, Inc. ("ISC") .\" .\" This Source Code Form is subject to the terms of the Mozilla Public .\" License, v. 2.0. If a copy of the MPL was not distributed with this @@ -189,7 +189,7 @@ The class specifies the protocol group of the information\&. (Default = IN; abbreviation = cl) .RE .PP -\fB \fR\fB\fI[no]\fR\fR\fBdebug\fR +\fB\fI[no]\fR\fR\fBdebug\fR .RS 4 Turn on or off the display of the full response packet and any intermediate response packets when searching\&. .sp @@ -197,7 +197,7 @@ Turn on or off the display of the full response packet and any intermediate resp [no]deb) .RE .PP -\fB \fR\fB\fI[no]\fR\fR\fBd2\fR +\fB\fI[no]\fR\fR\fBd2\fR .RS 4 Turn debugging mode on or off\&. This displays more about what nslookup is doing\&. .sp @@ -210,7 +210,7 @@ Sets the search list to \fIname\fR\&. .RE .PP -\fB \fR\fB\fI[no]\fR\fR\fBsearch\fR +\fB\fI[no]\fR\fR\fBsearch\fR .RS 4 If the lookup request contains at least one period but doesn\*(Aqt end with a trailing period, append the domain names in the domain search list to the request until an answer is received\&. .sp @@ -236,7 +236,7 @@ Change the type of the information query\&. (Default = A; abbreviations = q, ty) .RE .PP -\fB \fR\fB\fI[no]\fR\fR\fBrecurse\fR +\fB\fI[no]\fR\fR\fBrecurse\fR .RS 4 Tell the name server to query other servers if it does not have the information\&. .sp @@ -258,14 +258,14 @@ Set the number of retries to number\&. Change the initial timeout interval for waiting for a reply to number seconds\&. .RE .PP -\fB \fR\fB\fI[no]\fR\fR\fBvc\fR +\fB\fI[no]\fR\fR\fBvc\fR .RS 4 Always use a virtual circuit when sending requests to the server\&. .sp (Default = novc) .RE .PP -\fB \fR\fB\fI[no]\fR\fR\fBfail\fR +\fB\fI[no]\fR\fR\fBfail\fR .RS 4 Try the next nameserver if a nameserver responds with SERVFAIL or a referral (nofail) or terminate query (fail) on such a response\&. .sp @@ -290,5 +290,5 @@ returns with an exit status of 1 if any query failed, and 0 otherwise\&. \fBInternet Systems Consortium, Inc\&.\fR .SH "COPYRIGHT" .br -Copyright \(co 2004-2007, 2010, 2013-2016 Internet Systems Consortium, Inc. ("ISC") +Copyright \(co 2004-2007, 2010, 2013-2017 Internet Systems Consortium, Inc. ("ISC") .br diff --git a/bin/dig/nslookup.html b/bin/dig/nslookup.html index 3677c27b6adf718a99b6bf78072f605c21469f7d..562e1bf2d38207e2726e25255955b959ca6b9418 100644 --- a/bin/dig/nslookup.html +++ b/bin/dig/nslookup.html @@ -1,6 +1,6 @@