]> granicus.if.org Git - pdns/commitdiff
Clarify comment
authorFrank Louwers <frank@louwers.be>
Fri, 11 Oct 2019 14:10:08 +0000 (16:10 +0200)
committerFrank Louwers <frank@louwers.be>
Fri, 11 Oct 2019 14:10:08 +0000 (16:10 +0200)
pdns/dnsdistdist/docs/guides/dynblocks.rst

index ac5cc7ff7f982d6ab9e0efc7b0d95205d7f3686b..e22d6e4e5caed0092623b82d97976501cc3cb0ed 100644 (file)
@@ -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)