2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[trac1732] start of the documenting in-memory data source use

from jinmei's guide.diff from ticket #1732
This commit is contained in:
Jeremy C. Reed
2012-03-28 08:09:39 -05:00
parent 418a6dc9ee
commit da214e3e13

View File

@@ -1317,6 +1317,13 @@ This may be a temporary setting until then.
</listitem>
</varlistentry>
<varlistentry>
<term>datasources</term>
<listitem>
<simpara>TBD</simpara>
</listitem>
</varlistentry>
</variablelist>
</para>
@@ -1362,10 +1369,29 @@ This may be a temporary setting until then.
(The full path is what was defined at build configure time for
<option>--localstatedir</option>.
The default is <filename>/usr/local/var/</filename>.)
This data file location may be changed by defining the
<quote>database_file</quote> configuration.
This data file location may be changed by defining the
<quote>database_file</quote> configuration.
</para>
<section>
<title>In-memory Data Source</title>
<para>
How to configure it.
For example, the following command to bindctl
will configure an in-memory data source containing the "example.com"
zone with the zone file named "example.com.zone":
<screen>&gt; <userinput> config set Auth/datasources/ [{"type": "memory", "zones": [{"origin": "example.com", "file": "example.com.zone"}]}]</userinput></screen>
</para>
By default, the memory data source is disabled; it must be
configured explicitly. To disable it again, specify a null list
for Auth/datasources:
Notes: it's currently for class IN only.
</section>
</section>
<section>
@@ -1373,7 +1399,7 @@ This may be a temporary setting until then.
<para>
RFC 1035 style DNS master zone files may imported
into a BIND 10 data source by using the
into a BIND 10 SQLite3 data source by using the
<command>b10-loadzone</command> utility.
</para>