diff --git a/CHANGES b/CHANGES index 7e2a5f8c87..acaf41e29c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +4611. [bug] The default LMDB mapsize was too low and caused + errors after few thousand zones were added using + rndc addzone. A new config option "lmdb-mapsize" + has been introduced to configure the LMDB + mapsize depending on operational needs. + [RT #44954] + 4610. [func] The "new-zones-directory" option specifies the location of NZF or NZD files for storing configuration of zones added by "rndc addzone". diff --git a/bin/named/config.c b/bin/named/config.c index 585528fc84..cd5488bc74 100644 --- a/bin/named/config.c +++ b/bin/named/config.c @@ -176,6 +176,7 @@ options {\n\ zero-no-soa-ttl-cache no;\n\ nsec3-test-zone no;\n\ allow-new-zones no;\n\ + lmdb-mapsize 32M;\n\ fetches-per-server 0;\n\ require-server-cookie no;\n\ v6-bias 50;\n\ diff --git a/bin/named/named.conf.docbook b/bin/named/named.conf.docbook index 80481c811b..3f99c779b6 100644 --- a/bin/named/named.conf.docbook +++ b/bin/named/named.conf.docbook @@ -1,5 +1,5 @@