Answer the question
In order to leave comments, you need to log in
How to calculate rate-limit for recursive Bind?
Given a recursive (of course, for a specific network, not an open resolver) Bind version 9.10.1. All parameters related to RRL are described in detail in the documentation , however, the calculation of specific values \u200b\u200bis done by clicking.
/* текущая конфигурация */
rate-limit {
ipv4-prefix-length 32;
window 10;
responses-per-second 20;
errors-per-second 5;
nxdomains-per-second 5;
slip 2;
exempt-clients {
192.168.4.0/24;
};
};
Answer the question
In order to leave comments, you need to log in
Do you need RRL? Will clients be happy if their dns requests fail because of a magic number on the server? Are you an ISP? What difference does it make to you how many requests I send?)
The main purpose of RRL is to limit dns-amplification attacks on authoritative servers. This is weakly related to the recursor, except in the case of records with a minimum ttl. Your link mentions it.
And so - read about the methods of building a baseline in general.
You collect dumps by dns requests with the same tcpdump, using tshark you count the number of requests for each oypi with different windows.
Or you can write a script to process the bind query-log. Maybe even already there is such a script :) You
process the result like a bindgraph and look at nice graphs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question