From: Frank Louwers Date: Fri, 11 Oct 2019 14:10:08 +0000 (+0200) Subject: Clarify comment X-Git-Tag: dnsdist-1.4.0-rc4~29^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8410%2Fhead;p=thirdparty%2Fpdns.git Clarify comment --- diff --git a/pdns/dnsdistdist/docs/guides/dynblocks.rst b/pdns/dnsdistdist/docs/guides/dynblocks.rst index ac5cc7ff7f..e22d6e4e5c 100644 --- a/pdns/dnsdistdist/docs/guides/dynblocks.rst +++ b/pdns/dnsdistdist/docs/guides/dynblocks.rst @@ -81,6 +81,7 @@ action is applied. .. code-block:: lua local dbr = dynBlockRulesGroup() - -- generate a warning above 100 qps for 10s, and start dropping incoming queries above 300 qps for 60s + -- Generate a warning if we detect a query rate above 100 qps for at least 10s. + -- If the query rate raises above 300 qps for 10 seconds, we'll block the client for 60s. dbr:setQueryRate(300, 10, "Exceeded query rate", 60, DNSAction.Drop, 100)