|
@@ -2,7 +2,7 @@
|
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
|
|
[<!ENTITY mdash "—">]>
|
|
|
<!--
|
|
|
- - Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
|
|
|
+ - Copyright (C) 2010-2011 Internet Systems Consortium, Inc. ("ISC")
|
|
|
-
|
|
|
- Permission to use, copy, modify, and/or distribute this software for any
|
|
|
- purpose with or without fee is hereby granted, provided that the above
|
|
@@ -21,7 +21,7 @@
|
|
|
<refentry>
|
|
|
|
|
|
<refentryinfo>
|
|
|
- <date>July 29, 2010</date>
|
|
|
+ <date>January 19, 2011</date>
|
|
|
</refentryinfo>
|
|
|
|
|
|
<refmeta>
|
|
@@ -70,22 +70,13 @@
|
|
|
C-Channel connection. If this connection is not established,
|
|
|
<command>b10-auth</command> will exit.
|
|
|
<!-- TODO what if msgq connection closes later, will b10-auth exit? -->
|
|
|
- </para>
|
|
|
-
|
|
|
- <para>
|
|
|
- It also receives its configurations from
|
|
|
+ It receives its configurations from
|
|
|
<citerefentry><refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
|
|
|
- It will honor the <emphasis>database_file</emphasis> configuration
|
|
|
- to point to the SQLite3 zone file.
|
|
|
|
|
|
-<!-- TODO: data source -->
|
|
|
</para>
|
|
|
|
|
|
- <note><para>
|
|
|
- This prototype version uses SQLite3 as its data source backend.
|
|
|
- Future versions will be configurable, supporting multiple
|
|
|
- data storage types.
|
|
|
- </para></note>
|
|
|
+<!-- TODO: mention xfrin, xfrout, zonemgr ? -->
|
|
|
+
|
|
|
</refsect1>
|
|
|
|
|
|
<refsect1>
|
|
@@ -136,6 +127,7 @@
|
|
|
and negative) in memory for 30 seconds (instead of querying
|
|
|
the data source, such as SQLite3 database, each time).
|
|
|
</para></listitem>
|
|
|
+<!-- TODO: this is SQLite3 only -->
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
@@ -175,14 +167,94 @@
|
|
|
</refsect1>
|
|
|
|
|
|
<refsect1>
|
|
|
+ <title>CONFIGURATION AND COMMANDS</title>
|
|
|
+ <para>
|
|
|
+ The configurable settings are:
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <varname>database_file</varname> defines the path to the
|
|
|
+ SQLite3 zone file when using the sqlite datasource.
|
|
|
+ The default is
|
|
|
+ <filename>/usr/local/var/bind10-devel/zone.sqlite3</filename>.
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <varname>datasources</varname> configures data sources.
|
|
|
+ The list items include:
|
|
|
+ <varname>type</varname> to optionally choose the data source type
|
|
|
+ (such as <quote>memory</quote>);
|
|
|
+ <varname>class</varname> to optionally select the class
|
|
|
+ (it defaults to <quote>IN</quote>);
|
|
|
+ and
|
|
|
+ <varname>zones</varname> to define the
|
|
|
+ <varname>file</varname> path name and the
|
|
|
+ <varname>origin</varname> (default domain).
|
|
|
+
|
|
|
+ By default, this is empty.
|
|
|
+
|
|
|
+ <note><simpara>
|
|
|
+ In this development version, currently this is only used for the
|
|
|
+ memory data source.
|
|
|
+ Only the IN class is supported at this time.
|
|
|
+ By default, the memory data source is disabled.
|
|
|
+ Also, currently the zone file must be canonical such as
|
|
|
+ generated by <command>named-compilezone -D</command>.
|
|
|
+ </simpara></note>
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <varname>statistics-interval</varname> is the timer interval
|
|
|
+ in seconds for <command>b10-auth</command> to share its
|
|
|
+ statistics information to
|
|
|
+ <citerefentry><refentrytitle>b10-stats</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
|
|
|
+ Statistics updates can be disabled by setting this to 0.
|
|
|
+ The default is 60.
|
|
|
+ </para>
|
|
|
+
|
|
|
+<!-- TODO: formating -->
|
|
|
+ <para>
|
|
|
+ The configuration commands are:
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <command>loadzone</command> tells <command>b10-auth</command>
|
|
|
+ to load or reload a zone file. The arguments include:
|
|
|
+ <varname>class</varname> which optionally defines the class
|
|
|
+ (it defaults to <quote>IN</quote>);
|
|
|
+ <varname>origin</varname> is the domain name of the zone;
|
|
|
+ and
|
|
|
+ <varname>datasrc</varname> optionally defines the type of datasource
|
|
|
+ (it defaults to <quote>memory</quote>).
|
|
|
+
|
|
|
+ <note><simpara>
|
|
|
+ In this development version, currently this only supports the
|
|
|
+ IN class and the memory data source.
|
|
|
+ </simpara></note>
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <command>sendstats</command> tells <command>b10-auth</command>
|
|
|
+ to send its statistics data to
|
|
|
+ <citerefentry><refentrytitle>b10-stats</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
|
+ immediately.
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <command>shutdown</command> exits <command>b10-auth</command>.
|
|
|
+ (Note that the BIND 10 boss process will restart this service.)
|
|
|
+ </para>
|
|
|
+
|
|
|
+ </refsect1>
|
|
|
+
|
|
|
+ <refsect1>
|
|
|
<title>FILES</title>
|
|
|
<para>
|
|
|
- <filename>/usr/local/var/db/zone.sqlite3</filename>
|
|
|
+ <filename>/usr/local/var/bind10-devel/zone.sqlite3</filename>
|
|
|
— Location for the SQLite3 zone database
|
|
|
when <emphasis>database_file</emphasis> configuration is not
|
|
|
defined.
|
|
|
</para>
|
|
|
-<!-- TODO: this is not correct yet. -->
|
|
|
</refsect1>
|
|
|
|
|
|
<refsect1>
|
|
@@ -192,15 +264,15 @@
|
|
|
<refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
|
|
|
</citerefentry>,
|
|
|
<citerefentry>
|
|
|
- <refentrytitle>b10-cmdctl</refentrytitle><manvolnum>8</manvolnum>
|
|
|
- </citerefentry>,
|
|
|
- <citerefentry>
|
|
|
<refentrytitle>b10-loadzone</refentrytitle><manvolnum>8</manvolnum>
|
|
|
</citerefentry>,
|
|
|
<citerefentry>
|
|
|
<refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum>
|
|
|
</citerefentry>,
|
|
|
<citerefentry>
|
|
|
+ <refentrytitle>b10-stats</refentrytitle><manvolnum>8</manvolnum>
|
|
|
+ </citerefentry>,
|
|
|
+ <citerefentry>
|
|
|
<refentrytitle>b10-zonemgr</refentrytitle><manvolnum>8</manvolnum>
|
|
|
</citerefentry>,
|
|
|
<citerefentry>
|