bind9/lib/dns/include
Ondřej Surý 39d3e2a8ec
Add a limit to the number of RR types for single name
Previously, the number of RR types for a single owner name was limited
only by the maximum number of the types (64k).  As the data structure
that holds the RR types for the database node is just a linked list, and
there are places where we just walk through the whole list (again and
again), adding a large number of RR types for a single owner named with
would slow down processing of such name (database node).

Add a configurable limit to cap the number of the RR types for a single
owner.  This is enforced at the database (rbtdb, qpzone, qpcache) level
and configured with new max-types-per-name configuration option that
can be configured globally, per-view and per-zone.

(cherry picked from commit 00d16211d6368b99f070c1182d8c76b3798ca1db)
2024-06-10 18:50:06 +02:00
..
dns Add a limit to the number of RR types for single name 2024-06-10 18:50:06 +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