Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
.. versionadded:: 2.1.0
- Adds a rate-limiting rule for the ratio of responses of with a code not present in ``rcodes`` over the total number of responses for a given client.
+ Adds a rate-limiting rule for the ratio of responses with a code not present in ``rcodes`` over the total number of responses for a given client.
:param list of int rcodes: The response codes that are allowed and won't count towards the ratio
:param float ratio: Ratio of responses per second with a not allowed rcode over the total number of responses for this client to exceed