Knowledge Base ISC Main Website Ask a Question/Contact ISC
What is the Response Rate Limiting Feature in BIND?
Author: ISC Support Reference Number: AA-01148 Views: 7341 Created: 2014-04-10 20:09 Last Updated: 2018-04-20 22:59 0 Rating/ Voters

RRL, or Response Rate Limiting, is an enhancement to the DNS protocol which serves as a mitigation tool for the problem of DNS amplification attacks.  At this time, RRL implementation is only recommended for authoritative servers.

DNS reply packets are usually larger than query packets and (depending on the question asked) can be much larger.  By sending a question that is known to have a large reply packet, an attacker can multiply the effectiveness of attacking target machines by sending them garbage data.  The attacker sends out a large number of DNS queries that are forged to look like they were sent by the victim, so that the large response packets get sent to that victim.  This is the classic DNS DDoS.  For more information on these attacks, please see:

Excessive nearly-identical UDP responses can be controlled by configuring a rate-limit clause in an options or view statement. This mechanism keeps authoritative BIND 9 from being used as part of a DNS amplification attack. If a response to a legitimate client is blocked, it will retry with UDP or TCP. The RRL mechanism is intended for authoritative name servers. While it will work on recursive servers, it is more likely to generate false positives there. Limiting access to a recursive server is a better means of preventing their abuse.

To build BIND 9.9 with the Response Rate Limiting feature included, you must perform the software build process with the option


included on the "configure" command lin.  Software build procedures are dependent on the host operating system.  KB article AA-01058 (How do I enable Response Rate Limiting (RRL) on BIND 9.9.4?) describes the process in an OS-independent way.

Once you have built an executable binary of BIND 9.9 that includes the Response Rate Limiter feature, the instructions for using it are the same as for BIND 9.10, and are documented in KB article AA-00994.

© 2001-2018 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

  • There is no feedback for this article
Quick Jump Menu