From: Remi Gacogne Date: Thu, 22 Feb 2018 13:08:20 +0000 (+0100) Subject: dnsdist: Fix the documentation for MaxQPSRule() X-Git-Tag: dnsdist-1.3.0~81^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6299%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Fix the documentation for MaxQPSRule() Contrary to MaxQPSIPRule(), MaxQPSRule() matches the traffic below the QPS limit, not above. --- diff --git a/pdns/dnsdistdist/docs/rules-actions.rst b/pdns/dnsdistdist/docs/rules-actions.rst index b69185ea15..33da71a9e3 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])