]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix manual to document ratelimit, that it is for target
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 May 2026 11:24:44 +0000 (13:24 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 May 2026 11:24:44 +0000 (13:24 +0200)
  nameservers for a domain, and keeps queries limited. Thanks
  to Qifan Zhang, Palo Alto Networks, for the report.

doc/Changelog
doc/unbound.conf.rst

index 11ee7a0b58d90531d30dfb9fcaad1dad99691051..44007692944fb952ae4a1e56a33381535dc95852 100644 (file)
@@ -16,6 +16,9 @@
        - Fix to decrement the per-netblock tcp connection limits, so
          it keeps usable. Thanks to Qifan Zhang, Palo Alto Networks,
          for the report.
+       - 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.
 
 26 May 2026: Wouter
        - Fix for mesh new client and mesh new callback to rollback the
index 29ecb233e2c5f076f480faf9608bd13c5a67353d..13990fe61bd4a013d602c24a45103b437f2f2498 100644 (file)
@@ -3078,6 +3078,18 @@ These options are part of the ``server:`` section.
     overloaded with random names, and keeps unbound from sending traffic to the
     nameservers for those zones.
 
+    It is intended to count the number of queries towards the nameservers
+    for the zone, and keep those queries limited.
+    When there is a delegation that needs a lot of lookups, those are
+    charged in the counters for the destination, the target name, of
+    the NS records.
+    Since that is where the nameserver lookup queries are sent to.
+    That keeps the target, the victim domain, from having many queries.
+    With the :ref:`ratelimit-factor<unbound.conf.ratelimit-factor>`, some
+    genuine queries that are also made to the target zone, can filter
+    through, and then end up in cache, where the genuine answers have
+    a chance to collect, keeping up service to some extent.
+
     .. note:: Configured forwarders are excluded from ratelimiting.
 
     Default: 0