From: Aram Sargsyan Date: Wed, 28 Dec 2022 10:12:12 +0000 (+0000) Subject: Update nsupdate -t option's documentation X-Git-Tag: v9.19.12~25^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a00540ac24d32109df2d3219dfc6579389083a1b;p=thirdparty%2Fbind9.git Update nsupdate -t option's documentation Add some clarifications about the -t option's behavior differences in TCP and UDP modes. --- diff --git a/bin/nsupdate/nsupdate.rst b/bin/nsupdate/nsupdate.rst index cc1aa39fafa..481fbbb6ef8 100644 --- a/bin/nsupdate/nsupdate.rst +++ b/bin/nsupdate/nsupdate.rst @@ -187,7 +187,11 @@ Options .. option:: -t timeout This option sets the maximum time an update request can take before it is aborted. The - default is 300 seconds. If zero, the timeout is disabled. + default is 300 seconds. If zero, the timeout is disabled for TCP mode. For UDP mode, + the option :option:`-u` takes precedence over this option, unless the option :option:`-u` + is set to zero, in which case the interval is computed from the :option:`-t` timeout interval + and the number of UDP retries. For UDP mode, the timeout can not be disabled, and will + be rounded up to 1 second in case if both :option:`-t` and :option:`-u` are set to zero. .. option:: -T