From 0e9ea5975d703fff7b7aa289c9551e2031da6a85 Mon Sep 17 00:00:00 2001 From: Frank Louwers Date: Fri, 11 Oct 2019 16:10:08 +0200 Subject: [PATCH] Clarify comment --- pdns/dnsdistdist/docs/guides/dynblocks.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.47.2