]> 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)
committerArаm Sаrgsyаn <aram@isc.org>
Mon, 3 Apr 2023 15:21:43 +0000 (15:21 +0000)
Add some clarifications about the -t option's behavior differences
in TCP and UDP modes.

bin/nsupdate/nsupdate.rst

index cc1aa39fafa1da3f1f79c16e0f447b0b56201565..481fbbb6ef82766fb8076eb2cf273b2870beb518 100644 (file)
@@ -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