From 3b98c4d3112e5d5d5989f04423313eec85e93c38 Mon Sep 17 00:00:00 2001 From: Diego Fronza Date: Tue, 16 Feb 2021 13:23:14 -0300 Subject: [PATCH] Update dig's man page Adjusted man page entries for +tries and +retry options to reflect the fact that now those options apply to TCP as well. --- bin/dig/dig.rst | 6 +++--- doc/man/dig.1in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/dig/dig.rst b/bin/dig/dig.rst index c28b51e4ad..b54d22ef5c 100644 --- a/bin/dig/dig.rst +++ b/bin/dig/dig.rst @@ -480,8 +480,8 @@ abbreviation is unambiguous; for example, ``+cd`` is equivalent to ``+nssearch`` or ``+trace`` query option is used. ``+retry=T`` - This option sets the number of times to retry UDP queries to server to ``T`` - instead of the default, 2. Unlike ``+tries``, this does not include + This option sets the number of times to retry UDP and TCP queries to server to ``T`` + instead of the default, 2. Unlike ``+tries``, this does not include the initial query. ``+[no]rrcomments`` @@ -569,7 +569,7 @@ abbreviation is unambiguous; for example, ``+cd`` is equivalent to default queries from a name server. ``+tries=T`` - This option sets the number of times to try UDP queries to server to ``T`` + This option sets the number of times to try UDP and TCP queries to server to ``T`` instead of the default, 3. If ``T`` is less than or equal to zero, the number of tries is silently rounded up to 1. diff --git a/doc/man/dig.1in b/doc/man/dig.1in index e5820f5f42..bc42c4d543 100644 --- a/doc/man/dig.1in +++ b/doc/man/dig.1in @@ -492,8 +492,8 @@ recursive queries. Recursion is automatically disabled when the \fB+nssearch\fP or \fB+trace\fP query option is used. .TP .B \fB+retry=T\fP -This option sets the number of times to retry UDP queries to server to \fBT\fP -instead of the default, 2. Unlike \fB+tries\fP, this does not include +This option sets the number of times to retry UDP and TCP queries to server to \fBT\fP +instead of the default, 2. Unlike \fB+tries\fP, this does not include the initial query. .TP .B \fB+[no]rrcomments\fP @@ -581,7 +581,7 @@ the root zone name servers. default queries from a name server. .TP .B \fB+tries=T\fP -This option sets the number of times to try UDP queries to server to \fBT\fP +This option sets the number of times to try UDP and TCP queries to server to \fBT\fP instead of the default, 3. If \fBT\fP is less than or equal to zero, the number of tries is silently rounded up to 1. .TP