From 265f6bf9cbd91b0ce91251b0678f60517ea33003 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 18 Mar 2020 15:42:27 +0100 Subject: [PATCH] dnsdist: Clarify how DelayResponseAction differs from DelayAction --- pdns/dnsdistdist/docs/rules-actions.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/docs/rules-actions.rst b/pdns/dnsdistdist/docs/rules-actions.rst index f44ec55766..3969513324 100644 --- a/pdns/dnsdistdist/docs/rules-actions.rst +++ b/pdns/dnsdistdist/docs/rules-actions.rst @@ -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 -- 2.47.2