Skip to content

Commit 963cd68

Browse files
committed
- Fix manual to document ratelimit, that it is for target
nameservers for a domain, and keeps queries limited. Thanks to Qifan Zhang, Palo Alto Networks, for the report.
1 parent 047df73 commit 963cd68

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

doc/Changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
- Fix to decrement the per-netblock tcp connection limits, so
1717
it keeps usable. Thanks to Qifan Zhang, Palo Alto Networks,
1818
for the report.
19+
- Fix manual to document ratelimit, that it is for target
20+
nameservers for a domain, and keeps queries limited. Thanks
21+
to Qifan Zhang, Palo Alto Networks, for the report.
1922

2023
26 May 2026: Wouter
2124
- Fix for mesh new client and mesh new callback to rollback the

doc/unbound.conf.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3078,6 +3078,18 @@ These options are part of the ``server:`` section.
30783078
overloaded with random names, and keeps unbound from sending traffic to the
30793079
nameservers for those zones.
30803080

3081+
It is intended to count the number of queries towards the nameservers
3082+
for the zone, and keep those queries limited.
3083+
When there is a delegation that needs a lot of lookups, those are
3084+
charged in the counters for the destination, the target name, of
3085+
the NS records.
3086+
Since that is where the nameserver lookup queries are sent to.
3087+
That keeps the target, the victim domain, from having many queries.
3088+
With the :ref:`ratelimit-factor<unbound.conf.ratelimit-factor>`, some
3089+
genuine queries that are also made to the target zone, can filter
3090+
through, and then end up in cache, where the genuine answers have
3091+
a chance to collect, keeping up service to some extent.
3092+
30813093
.. note:: Configured forwarders are excluded from ratelimiting.
30823094

30833095
Default: 0

0 commit comments

Comments
 (0)