From: Remi Gacogne Date: Wed, 18 Mar 2020 14:42:27 +0000 (+0100) Subject: dnsdist: Clarify how DelayResponseAction differs from DelayAction X-Git-Tag: dnsdist-1.5.0-alpha1~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8947%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Clarify how DelayResponseAction differs from DelayAction --- 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