From a00540ac24d32109df2d3219dfc6579389083a1b Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Wed, 28 Dec 2022 10:12:12 +0000 Subject: [PATCH] Update nsupdate -t option's documentation Add some clarifications about the -t option's behavior differences in TCP and UDP modes. --- bin/nsupdate/nsupdate.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/nsupdate/nsupdate.rst b/bin/nsupdate/nsupdate.rst index cc1aa39faf..481fbbb6ef 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