]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Merge pull request #8947 from rgacogne/ddist-doc-delay
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 19 Mar 2020 08:58:36 +0000 (09:58 +0100)
committerGitHub <noreply@github.com>
Thu, 19 Mar 2020 08:58:36 +0000 (09:58 +0100)
dnsdist: Clarify how DelayResponseAction differs from DelayAction

pdns/dnsdistdist/docs/rules-actions.rst

index f44ec557666cd3a0509906cf059812b0cbcdb3a7..3969513324d1ce6614601a1d6a3e6bf36f953d80 100644 (file)
@@ -911,7 +911,8 @@ The following actions exist.
 
 .. function:: DelayAction(milliseconds)
 
-  Delay the response by the specified amount of milliseconds (UDP-only).
+  Delay the response by the specified amount of milliseconds (UDP-only). Note that the sending of the query to the backend, if needed,
+  is not delayed. Only the sending of the response to the client will be delayed.
   Subsequent rules are processed after this action.
 
   :param int milliseconds: The amount of milliseconds to delay the response
@@ -919,6 +920,7 @@ The following actions exist.
 .. function:: DelayResponseAction(milliseconds)
 
   Delay the response by the specified amount of milliseconds (UDP-only).
+  The only difference between this action and  :func:`DelayAction` is that they can only be applied on, respectively, responses and queries.
   Subsequent rules are processed after this action.
 
   :param int milliseconds: The amount of milliseconds to delay the response