mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 20:20:00 -04:00
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:
parent
8ae0828e15
commit
81dca80877
3 changed files with 15 additions and 21 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue