From e24d817ded3e9eb6714ac96b39ef3416949e8bc9 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 22 Feb 2018 14:08:20 +0100 Subject: [PATCH] dnsdist: Fix the documentation for MaxQPSRule() Contrary to MaxQPSIPRule(), MaxQPSRule() matches the traffic below the QPS limit, not above. --- pdns/dnsdistdist/docs/rules-actions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/dnsdistdist/docs/rules-actions.rst b/pdns/dnsdistdist/docs/rules-actions.rst index b69185ea1..33da71a9e 100644 --- a/pdns/dnsdistdist/docs/rules-actions.rst +++ b/pdns/dnsdistdist/docs/rules-actions.rst @@ -495,10 +495,10 @@ These ``DNSRule``\ s be one of the following items: .. function:: MaxQPSRule(qps) - Matches traffic exceeding this qps limit. If e.g. this is set to 50, starting at the 51st query of the current second traffic is matched. + Matches traffic **not** exceeding this qps limit. If e.g. this is set to 50, starting at the 51st query of the current second traffic stops being matched. This can be used to enforce a global QPS limit. - :param int qps: The number of queries per second allowed, above this number traffic is matched + :param int qps: The number of queries per second allowed, above this number the traffic is **not** matched anymore .. function:: NetmaskGroupRule(nmg[, src]) -- 2.40.0