Parcourir la source

Miscellaneous cleanup of manual, like removing
unneeded comments. (Note some minor changes
not related to the ticket.)

More explanation and clarifications for the zonemgr related features.

I chose to somewhat document the internal commands for now
but note that they are not exposed.
Later these will need to go in a BIND 10 developers docs too.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac341@2942 e5f2f494-b856-4b98-b285-d166d9295462

Jeremy C. Reed il y a 14 ans
Parent
commit
e04268fd10
3 fichiers modifiés avec 54 ajouts et 32 suppressions
  1. 30 16
      src/bin/xfrin/b10-xfrin.xml
  2. 11 5
      src/bin/xfrout/b10-xfrout.xml
  3. 13 11
      src/bin/zonemgr/b10-zonemgr.xml

+ 30 - 16
src/bin/xfrin/b10-xfrin.xml

@@ -103,34 +103,53 @@
     </para>
     </para>
 
 
 <!-- TODO: formating -->
 <!-- TODO: formating -->
-<!-- TODO: refresh is code but not in spec -->
-<!-- schedule immediate maintenance for a zone(check soa serial ) -->
     <para>
     <para>
       The configuration commands are:
       The configuration commands are:
     </para>
     </para>
 
 
     <para>
     <para>
-     <command>notify</command>
-TODO: what is difference from refresh_from_zonemgr ?
+      <command>notify</command> is sent by
+      <citerefentry><refentrytitle>b10-zonemgr</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+      when a DNS NOTIFY message is received to initiate a zone
+      transfer.
+<!-- TODO: document that zonemgr or xfrin checks if it needs to or not -->
+      This is an internal command and not exposed to the administrator.
+<!-- not defined in spec -->
     </para>
     </para>
 
 
     <para>
     <para>
-      <command>refresh</command>
-Same as retransfer except it checks the SOA serial first.
-TODO more detail
+      <command>refresh</command> triggers the transfer in for
+      a single zone.
+      It is the same as <command>retransfer</command> except it
+      checks the SOA serial first.
+<!-- TODO more detail -->
+      This is an internal command and not exposed to the administrator.
+<!-- not defined in spec -->
+<!-- TODO: refresh is code but not in spec, see trac ticket #328 -->
     </para>
     </para>
 
 
     <para>
     <para>
-      <command>refresh_from_zonemgr</command>
+      <command>refresh_from_zonemgr</command> is sent by
+      <citerefentry><refentrytitle>b10-zonemgr</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+      according to the SOA's REFRESH time
+      to tell <command>b10-xfrin</command> that the zone needs to do
+      a zone refresh.
+      This is an internal command and not exposed to the administrator. 
+<!-- not defined in spec -->
     </para>
     </para>
 
 
     <para>
     <para>
       <command>retransfer</command> triggers the transfer in for
       <command>retransfer</command> triggers the transfer in for
       a single zone without checking the zone's serial number.
       a single zone without checking the zone's serial number.
       It has the following arguments: <varname>zone_name</varname>
       It has the following arguments: <varname>zone_name</varname>
-      to define the zone to request and <varname>master</varname>
-      to define the IP address of the authoritative server to
-      transfer from.
+      to define the zone to request,
+      <varname>zone_class</varname> to define the class (defaults to
+      <quote>IN</quote>),
+      <varname>master</varname> to define the IP address of
+      the authoritative server to transfer from,
+      and <varname>port</varname> to define the port number on the
+      authoritative server (defaults to 53).
+<!-- TODO: note: not documenting db_file since that will be removed. -->
      </para>
      </para>
 <!-- TODO: later hostname for master? -->
 <!-- TODO: later hostname for master? -->
 
 
@@ -144,11 +163,6 @@ add a usage example of xfrin -->
 
 
 <!-- TODO:
 <!-- TODO:
 
 
-port (defaults to 53)
-db_file (defaults to zone.sqlite3) --> <!-- TODO: fix this -->
-
-<!-- TODO:
-
  later it will can be triggered by :
  later it will can be triggered by :
 1.  Notify message from auth server.
 1.  Notify message from auth server.
 2.  Schedule zone transfer (determined by Refresh/Expire time in SOA record)
 2.  Schedule zone transfer (determined by Refresh/Expire time in SOA record)

+ 11 - 5
src/bin/xfrout/b10-xfrout.xml

@@ -54,6 +54,7 @@
     <title>DESCRIPTION</title>
     <title>DESCRIPTION</title>
     <para>The <command>b10-xfrout</command> daemon provides the BIND 10
     <para>The <command>b10-xfrout</command> daemon provides the BIND 10
       outgoing DNS zone transfer service.
       outgoing DNS zone transfer service.
+      It also used to send outgoing NOTIFY messages.
       Normally it is started by the
       Normally it is started by the
       <citerefentry><refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum></citerefentry>
       <citerefentry><refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum></citerefentry>
       boss process.
       boss process.
@@ -97,6 +98,7 @@
       defines the path to the SQLite3 data store file.
       defines the path to the SQLite3 data store file.
       The default is
       The default is
       <filename>/usr/local/var/bind10-devel/zone.sqlite3</filename>.
       <filename>/usr/local/var/bind10-devel/zone.sqlite3</filename>.
+<!-- TODO: db_file will be removed -->
     </para>
     </para>
     <para>
     <para>
       <varname>transfers_out</varname>
       <varname>transfers_out</varname>
@@ -104,6 +106,9 @@
       that can run concurrently. The default is 10.
       that can run concurrently. The default is 10.
     </para>
     </para>
 
 
+<!-- TODO: log configurations not documented yet in here. jreed
+     has some but waiting on decisions ... -->
+
     <note><simpara>
     <note><simpara>
       This prototype version uses SQLite3 as its data source backend.
       This prototype version uses SQLite3 as its data source backend.
       Future versions will be configurable, supporting multiple
       Future versions will be configurable, supporting multiple
@@ -122,13 +127,14 @@
 
 
     <para>
     <para>
       <command>zone_new_data_ready</command> is sent from
       <command>zone_new_data_ready</command> is sent from
-      <command>b10-xfrin</command> to indicate that the zone transferred
-      in successfully.
+      <citerefentry><refentrytitle>b10-xfrin</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+      to indicate that the zone transferred in successfully.
       This triggers <command>b10-xfrout</command> to send NOTIFY
       This triggers <command>b10-xfrout</command> to send NOTIFY
       message(s).
       message(s).
+      This is an internal command and not exposed to the administrator.
+<!-- not defined in spec -->
     </para>
     </para>
 
 
-
   </refsect1>
   </refsect1>
 
 
 <!--
 <!--
@@ -182,8 +188,8 @@
   <refsect1>
   <refsect1>
     <title>HISTORY</title>
     <title>HISTORY</title>
     <para>
     <para>
-      The <command>b10-xfrout</command> daemon was implemented in March 2010
-      by Zhang Likun of CNNIC for the ISC BIND 10 project.
+      The <command>b10-xfrout</command> daemon was first implemented
+      in March 2010 by Zhang Likun of CNNIC for the ISC BIND 10 project.
     </para>
     </para>
   </refsect1>
   </refsect1>
 </refentry><!--
 </refentry><!--

+ 13 - 11
src/bin/zonemgr/b10-zonemgr.xml

@@ -90,14 +90,9 @@
 
 
   <refsect1>
   <refsect1>
     <title>CONFIGURATION AND COMMANDS</title>
     <title>CONFIGURATION AND COMMANDS</title>
-    <para>
-      The configurable settings are:
-    </para>
 <!--
 <!--
     <para>
     <para>
-      <varname>transfers-out</varname>
-      defines the maximum number of outgoing zone transfers
-      that can run concurrently. The default is 10.
+      The configurable settings are:
     </para>
     </para>
 -->
 -->
 
 
@@ -107,11 +102,14 @@
     </para>
     </para>
     <para>
     <para>
       <command>notify</command> (sent by
       <command>notify</command> (sent by
-      <command>b10-auth</command>) tells <command>b10-zonemgr</command>
+      <citerefentry><refentrytitle>b10-auth</refentrytitle><manvolnum>8</manvolnum></citerefentry>)
+      tells <command>b10-zonemgr</command>
       the zone name and class, and the IP address for the master
       the zone name and class, and the IP address for the master
       (source of the NOTIFY message).
       (source of the NOTIFY message).
       This will set the zone's refresh time to now.
       This will set the zone's refresh time to now.
 <!-- TODO reword this -->
 <!-- TODO reword this -->
+      This is an internal command and not exposed to the administrator.
+<!-- not defined in spec -->
     </para>
     </para>
 
 
     <para>
     <para>
@@ -121,19 +119,23 @@
 
 
     <para>
     <para>
       <command>zone_new_data_ready</command> is sent from
       <command>zone_new_data_ready</command> is sent from
-      <command>b10-xfrin</command> to indicate that the zone transferred
-      in successfully.
+      <citerefentry><refentrytitle>b10-xfrin</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+      to indicate that the zone transferred in successfully.
+      This is an internal command and not exposed to the administrator.
+<!-- not defined in spec -->
     </para>
     </para>
 
 
     <para>
     <para>
       <command>zone_xfrin_failed</command> is sent from
       <command>zone_xfrin_failed</command> is sent from
-      <command>b10-xfrin</command> to indicate a failure
-      (such as transfer-in was incomplete).
+      <citerefentry><refentrytitle>b10-xfrin</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+      to indicate a failure (such as a transfer-in was incomplete).
       The refresh timer for the zone is reset.
       The refresh timer for the zone is reset.
 <!--
 <!--
         """Set zone next refresh time after zone refresh fail.
         """Set zone next refresh time after zone refresh fail.
            now + retry*3/4 <= next_refresh_time <= now + retry
            now + retry*3/4 <= next_refresh_time <= now + retry
 -->
 -->
+      This is an internal command and not exposed to the administrator.
+<!-- not defined in spec -->
     </para>
     </para>
 
 
   </refsect1>
   </refsect1>