bind9/bin
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
..
check deprecate delegation-only and root-delegation only 2023-03-23 14:09:53 -07:00
confgen Put reference to RFC 2845 in tsig-keygen man page 2024-02-01 12:03:42 +01:00
delv Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
dig Re-enable EDNS if an EDNS flag gets set to 1 by +ednsflags 2024-03-17 13:11:51 +10:00
dnssec Fail if there are non apex DNSKEYs 2024-05-16 12:09:57 +10:00
named Add a limit to the number of RR types for single name 2024-06-10 18:50:06 +02:00
nsupdate NetBSD has added 'hmac' to libc so rename our uses of hmac 2023-12-14 11:14:04 +11:00
plugins Remove 'inst != NULL' from cleanup check in plugin_register 2023-04-05 10:27:52 +10:00
rndc Document that reloading happens asynchronously 2023-09-26 14:11:30 +10:00
tests Add a limit to the number of RR types for single name 2024-06-10 18:50:06 +02:00
tools Re-enable EDNS if an EDNS flag gets set to 1 by +ednsflags 2024-03-17 13:11:51 +10:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00