From: Mark Andrews Date: Wed, 7 Dec 2022 04:51:34 +0000 (+1100) Subject: Add reference to +tcp for +ignore X-Git-Tag: v9.19.8~8^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5951f04111ed8c323d8b5960a721a8266220985;p=thirdparty%2Fbind9.git Add reference to +tcp for +ignore --- diff --git a/bin/dig/dig.rst b/bin/dig/dig.rst index 5aa488ef8db..a83f5b97b0f 100644 --- a/bin/dig/dig.rst +++ b/bin/dig/dig.rst @@ -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 diff --git a/doc/man/dig.1in b/doc/man/dig.1in index 272a58f2e4b..613ef964088 100644 --- a/doc/man/dig.1in +++ b/doc/man/dig.1in @@ -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