bind9/lib/isccfg
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
..
include Reformat sources with up-to-date clang-format-17 2023-11-13 17:13:07 +01:00
aclconf.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
dnsconf.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
duration.c Detect invalid durations 2024-03-14 11:40:43 +01:00
kaspconf.c Add checkconf check for signatures-jitter 2024-04-18 15:00:07 +00:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move duration structure to libisccfg/duration 2022-06-28 14:36:31 +02:00
namedconf.c Add a limit to the number of RR types for single name 2024-06-10 18:50:06 +02:00
parser.c mark "port" as deprecated for source address options 2023-02-02 12:21:08 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00