bind9/lib/dns/include
Ondřej Surý e699ef939e
Add a limit to the number of RRs in RRSets
Previously, the number of RRs in the RRSets were internally unlimited.
As the data structure that holds the RRs is just a linked list, and
there are places where we just walk through all of the RRs, adding an
RRSet with huge number of RRs inside would slow down processing of said
RRSets.

Add a configurable limit to cap the number of the RRs in a single RRSet.
This is enforced at the database (rbtdb, qpzone, qpcache) level and
configured with new max-records-per-type configuration option that can
be configured globally, per-view and per-zone.

(cherry picked from commit 3fbd21f69a1bcbd26c4c00920e7b0a419e8762fc)
2024-06-10 18:50:03 +02:00
..
dns Add a limit to the number of RRs in RRSets 2024-06-10 18:50:03 +02:00
dst Optimize selecting the signing key 2024-02-01 21:47:29 +01:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00