Update documentation now that LMDB is required

Remove references to viewname.nzf, and no longer use "if LMDB is used".
This commit is contained in:
Matthijs Mekking 2026-03-18 10:33:09 +01:00 committed by Ondřej Surý
parent 8ae0828e15
commit 81dca80877
No known key found for this signature in database
GPG key ID: 2820F37E873DEA41
3 changed files with 15 additions and 21 deletions

View file

@ -8290,9 +8290,9 @@ apply_configuration(cfg_obj_t *effectiveconfig, cfg_obj_t *bindkeys,
}
/*
* If we're using LMDB, we may have created newzones databases
* as root, making it impossible to reopen them later after
* switching to a new userid. We close them now, and reopen
* We are using LMDB. This means we may have created newzones
* databases as root, making it impossible to reopen them later
* after switching to a new userid. We close them now, and reopen
* after relinquishing privileges them.
*/
if (first_time) {

View file

@ -133,8 +133,7 @@ Currently supported commands are:
string specified on the command line is the zone configuration text
that would ordinarily be placed in :iscman:`named.conf`.
The configuration is saved in a file called ``viewname.nzf`` (or, if
:iscman:`named` is compiled with liblmdb, an LMDB database file called
The configuration is saved in an LMDB database file called
``viewname.nzd``). ``viewname`` is the name of the view, unless the view
name contains characters that are incompatible with use as a file
name, in which case a cryptographic hash of the view name is used

View file

@ -1364,12 +1364,11 @@ default is used.
:tags: server
:short: Sets a maximum size for the memory map of the new-zone database in LMDB database format.
When :iscman:`named` is built with liblmdb, this option sets a maximum size
for the memory map of the new-zone database (NZD) in LMDB database
format. This database is used to store configuration information for
zones added using :option:`rndc addzone`. Note that this is not the NZD
database file size, but the largest size that the database may grow
to.
This option sets a maximum size for the memory map of the new-zone database
(NZD) in LMDB database format. This database is used to store configuration
information for zones added using :option:`rndc addzone`. Note that this is
not the NZD database file size, but the largest size that the database may
grow to.
Because the database file is memory-mapped, its size is limited by
the address space of the :iscman:`named` process. The default of 32 megabytes
@ -1960,17 +1959,13 @@ Boolean Options
Newly added zones' configuration parameters are stored so that they
can persist after the server is restarted. The configuration
information is saved in a file called ``viewname.nzf`` (or, if
:iscman:`named` is compiled with liblmdb, in an LMDB database file called
``viewname.nzd``). "viewname" is the name of the view, unless the view
name contains characters that are incompatible with use as a file
name, in which case a cryptographic hash of the view name is used
instead.
information is saved in an LMDB database file called ``viewname.nzd``.
"viewname" is the name of the view, unless the view name contains
characters that are incompatible with use as a file name, in which case a
cryptographic hash of the view name is used instead.
Configurations for zones added at runtime are stored either in
a new-zone file (NZF) or a new-zone database (NZD), depending on
whether :iscman:`named` was linked with liblmdb at compile time. See
:ref:`man_rndc` for further details about :option:`rndc addzone`.
Configurations for zones added at runtime are stored in a new-zone database
(NZD). See :ref:`man_rndc` for further details about :option:`rndc addzone`.
.. namedconf:statement:: auth-nxdomain
:tags: query