mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-25 03:27:18 +00:00
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.
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
zone <string> [ <class> ] {
|
|
type stub;
|
|
allow-query { <address_match_element>; ... };
|
|
allow-query-on { <address_match_element>; ... };
|
|
check-names ( fail | warn | ignore );
|
|
database <string>;
|
|
dialup ( notify | notify-passive | passive | refresh | <boolean> ); // deprecated
|
|
file <quoted_string>;
|
|
forward ( first | only );
|
|
forwarders [ port <integer> ] [ tls <string> ] { ( <ipv4_address> | <ipv6_address> ) [ port <integer> ] [ tls <string> ]; ... };
|
|
masterfile-format ( raw | text );
|
|
masterfile-style ( full | relative );
|
|
max-records <integer>;
|
|
max-records-per-type <integer>;
|
|
max-refresh-time <integer>;
|
|
max-retry-time <integer>;
|
|
max-transfer-idle-in <integer>;
|
|
max-transfer-time-in <integer>;
|
|
max-types-per-name <integer>;
|
|
min-refresh-time <integer>;
|
|
min-retry-time <integer>;
|
|
multi-master <boolean>;
|
|
primaries [ port <integer> ] [ source ( <ipv4_address> | * ) ] [ source-v6 ( <ipv6_address> | * ) ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
|
transfer-source ( <ipv4_address> | * );
|
|
transfer-source-v6 ( <ipv6_address> | * );
|
|
zone-statistics ( full | terse | none | <boolean> );
|
|
};
|