Rate-limiting - working? How to test?

John Horne john.horne at plymouth.ac.uk
Fri Jan 17 13:34:00 UTC 2014


Hello,

I have BIND 9.9.4 installed on a server, and have included in the global 
options:

         rate-limit { responses-per-second 5;
                           log-only yes;
         };

However, if I run from a client:

         for n in `seq 1 10`; do dig +short jhorne.csd.plymouth.ac.uk a 
@141.163.66.138; done

I get 10 correct responses. The query log file on the server shows that 
10 queries were received:

        17-Jan-2014 13:20:43.662 client 141.163.66.139#55184 
(jhorne.csd.plymouth.ac.uk): view plymouth-only: query: 
jhorne.csd.plymouth.ac.uk IN A + (141.163.66.138)

(The other 9 log entries are the same, except for the milliseconds 
increasing slightly.)

It's Friday afternoon, so I'm probably missing something obvious :-) I 
cannot see why all the queries were responded to, I expected some 
queries to timeout and something to be logged (none of the other bind 
logs contain anything about rate limiting).



Thanks,

John.


More information about the bind-users mailing list