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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e9ea5975d703fff7b7aa289c9551e2031da6a85;p=pdns Clarify comment --- diff --git a/pdns/dnsdistdist/docs/guides/dynblocks.rst b/pdns/dnsdistdist/docs/guides/dynblocks.rst index ac5cc7ff7..e22d6e4e5 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)