]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add reference to +tcp for +ignore
authorMark Andrews <marka@isc.org>
Wed, 7 Dec 2022 04:51:34 +0000 (15:51 +1100)
committerMark Andrews <marka@isc.org>
Wed, 7 Dec 2022 21:38:18 +0000 (21:38 +0000)
bin/dig/dig.rst
doc/man/dig.1in

index 5aa488ef8dbae088e5501dab13d29643259e0909..a83f5b97b0f7cba3d2851ba6c7b57c63692efe9e 100644 (file)
@@ -618,10 +618,11 @@ abbreviation is unambiguous; for example, :option:`+cd` is equivalent to
 
 .. option:: +tcp, +notcp
 
-   This option indicates whether to 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.
+   This option indicates whether to 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. To prevent retry over TCP when
+   TC=1 is returned from a UDP query, use ``+ignore``.
 
 .. option:: +timeout=T
 
index 272a58f2e4b3fe6b3e77ceaab43206c481174c15..613ef9640881257ffb639a20f09fcfb535e4cc91 100644 (file)
@@ -716,10 +716,11 @@ This option sets [or does not set] the TC (TrunCation) bit in the query. The def
 .INDENT 0.0
 .TP
 .B +tcp, +notcp
-This option indicates whether to use TCP when querying name servers.
-The default behavior is to use UDP unless a type \fBany\fP or \fBixfr=N\fP
-query is requested, in which case the default is TCP. AXFR queries
-always use TCP.
+This option indicates whether to use TCP when querying name
+servers.  The default behavior is to use UDP unless a type \fBany\fP
+or \fBixfr=N\fP query is requested, in which case the default is
+TCP. AXFR queries always use TCP. To prevent retry over TCP when
+TC=1 is returned from a UDP query, use \fB+ignore\fP\&.
 .UNINDENT
 .INDENT 0.0
 .TP