]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update nsupdate -t option's documentation
authorAram Sargsyan <aram@isc.org>
Wed, 28 Dec 2022 10:12:12 +0000 (10:12 +0000)
committerAram Sargsyan <aram@isc.org>
Mon, 3 Apr 2023 16:18:39 +0000 (16:18 +0000)
Add some clarifications about the -t option's behavior differences
in TCP and UDP modes.

(cherry picked from commit a00540ac24d32109df2d3219dfc6579389083a1b)

bin/nsupdate/nsupdate.rst

index b91a6068456da97d556e6615a922ae30d2de1e55..81bb4815cf4c108e459415d029f018b8498620b3 100644 (file)
@@ -141,7 +141,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