b10-auth.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  2. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
  3. [<!ENTITY mdash "&#8212;">]>
  4. <!--
  5. - Copyright (C) 2010-2012 Internet Systems Consortium, Inc. ("ISC")
  6. -
  7. - Permission to use, copy, modify, and/or distribute this software for any
  8. - purpose with or without fee is hereby granted, provided that the above
  9. - copyright notice and this permission notice appear in all copies.
  10. -
  11. - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  12. - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  13. - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  14. - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  15. - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  16. - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  17. - PERFORMANCE OF THIS SOFTWARE.
  18. -->
  19. <refentry>
  20. <refentryinfo>
  21. <date>March 1, 2012</date>
  22. </refentryinfo>
  23. <refmeta>
  24. <refentrytitle>b10-auth</refentrytitle>
  25. <manvolnum>8</manvolnum>
  26. <refmiscinfo>BIND10</refmiscinfo>
  27. </refmeta>
  28. <refnamediv>
  29. <refname>b10-auth</refname>
  30. <refpurpose>Authoritative DNS server</refpurpose>
  31. </refnamediv>
  32. <docinfo>
  33. <copyright>
  34. <year>2010-2012</year>
  35. <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
  36. </copyright>
  37. </docinfo>
  38. <refsynopsisdiv>
  39. <cmdsynopsis>
  40. <command>b10-auth</command>
  41. <arg><option>-n</option></arg>
  42. <arg><option>-v</option></arg>
  43. </cmdsynopsis>
  44. </refsynopsisdiv>
  45. <refsect1>
  46. <title>DESCRIPTION</title>
  47. <para>The <command>b10-auth</command> daemon provides the BIND 10
  48. authoritative DNS server.
  49. Normally it is started by the
  50. <citerefentry><refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  51. boss process.
  52. </para>
  53. <para>
  54. This daemon communicates with other BIND 10 components over a
  55. <citerefentry><refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  56. C-Channel connection. If this connection is not established,
  57. <command>b10-auth</command> will exit.
  58. <!-- TODO what if msgq connection closes later, will b10-auth exit? -->
  59. It receives its configurations from
  60. <citerefentry><refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
  61. </para>
  62. <!-- TODO: mention xfrin, xfrout, zonemgr ? -->
  63. </refsect1>
  64. <refsect1>
  65. <title>OPTIONS</title>
  66. <para>The arguments are as follows:</para>
  67. <variablelist>
  68. <varlistentry>
  69. <term><option>-n</option></term>
  70. <listitem><para>
  71. Do not cache answers in memory.
  72. The default is to use the cache for faster responses.
  73. The cache keeps the most recent 30,000 answers (positive
  74. and negative) in memory for 30 seconds (instead of querying
  75. the data source, such as SQLite3 database, each time).
  76. </para></listitem>
  77. <!-- TODO: this is SQLite3 only -->
  78. </varlistentry>
  79. <varlistentry>
  80. <term><option>-v</option></term>
  81. <listitem><para>
  82. Enabled verbose mode. This enables diagnostic messages to
  83. STDERR.
  84. </para></listitem>
  85. </varlistentry>
  86. </variablelist>
  87. </refsect1>
  88. <refsect1>
  89. <title>CONFIGURATION AND COMMANDS</title>
  90. <para>
  91. The configurable settings are:
  92. </para>
  93. <para>
  94. <varname>database_file</varname> defines the path to the
  95. SQLite3 zone file when using the sqlite datasource.
  96. The default is
  97. <filename>/usr/local/var/bind10-devel/zone.sqlite3</filename>.
  98. </para>
  99. <para>
  100. <varname>datasources</varname> configures data sources.
  101. The list items include:
  102. <varname>type</varname> to optionally choose the data source type
  103. (such as <quote>memory</quote>);
  104. <varname>class</varname> to optionally select the class
  105. (it defaults to <quote>IN</quote>);
  106. and
  107. <varname>zones</varname> to define the
  108. <varname>file</varname> path name and the
  109. <varname>origin</varname> (default domain).
  110. By default, this is empty.
  111. <note><simpara>
  112. In this development version, currently this is only used for the
  113. memory data source.
  114. Only the IN class is supported at this time.
  115. By default, the memory data source is disabled.
  116. Also, currently the zone file must be canonical such as
  117. generated by <command>named-compilezone -D</command>.
  118. </simpara></note>
  119. </para>
  120. <para>
  121. <varname>listen_on</varname> is a list of addresses and ports for
  122. <command>b10-auth</command> to listen on.
  123. The list items are the <varname>address</varname> string
  124. and <varname>port</varname> number.
  125. By default, <command>b10-auth</command> listens on port 53
  126. on the IPv6 (::) and IPv4 (0.0.0.0) wildcard addresses.
  127. </para>
  128. <para>
  129. <varname>statistics-interval</varname> is the timer interval
  130. in seconds for <command>b10-auth</command> to share its
  131. statistics information to
  132. <citerefentry><refentrytitle>b10-stats</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
  133. Statistics updates can be disabled by setting this to 0.
  134. The default is 60.
  135. </para>
  136. <!-- TODO: formating -->
  137. <para>
  138. The configuration commands are:
  139. </para>
  140. <para>
  141. <command>loadzone</command> tells <command>b10-auth</command>
  142. to load or reload a zone file. The arguments include:
  143. <varname>class</varname> which optionally defines the class
  144. (it defaults to <quote>IN</quote>);
  145. <varname>origin</varname> is the domain name of the zone;
  146. and
  147. <varname>datasrc</varname> optionally defines the type of datasource
  148. (it defaults to <quote>memory</quote>).
  149. <note><simpara>
  150. In this development version, currently this only supports the
  151. IN class and the memory data source.
  152. </simpara></note>
  153. </para>
  154. <para>
  155. <command>sendstats</command> tells <command>b10-auth</command>
  156. to send its statistics data to
  157. <citerefentry><refentrytitle>b10-stats</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  158. immediately.
  159. </para>
  160. <para>
  161. <command>shutdown</command> exits <command>b10-auth</command>.
  162. This has an optional <varname>pid</varname> argument to
  163. select the process ID to stop.
  164. (Note that the BIND 10 boss process may restart this service
  165. if configured.)
  166. </para>
  167. </refsect1>
  168. <refsect1>
  169. <title>STATISTICS DATA</title>
  170. <para>
  171. The statistics data collected by the <command>b10-stats</command>
  172. daemon for <quote>Auth</quote> include:
  173. </para>
  174. <variablelist>
  175. <varlistentry>
  176. <term>queries.tcp</term>
  177. <listitem><simpara>Total count of queries received by the
  178. <command>b10-auth</command> server over TCP since startup.
  179. </simpara></listitem>
  180. </varlistentry>
  181. <varlistentry>
  182. <term>queries.udp</term>
  183. <listitem><simpara>Total count of queries received by the
  184. <command>b10-auth</command> server over UDP since startup.
  185. </simpara></listitem>
  186. </varlistentry>
  187. </variablelist>
  188. <!-- TODO: missing stats docs. See ticket #1721 -->
  189. </refsect1>
  190. <refsect1>
  191. <title>FILES</title>
  192. <para>
  193. <filename>/usr/local/var/bind10-devel/zone.sqlite3</filename>
  194. &mdash; Location for the SQLite3 zone database
  195. when <emphasis>database_file</emphasis> configuration is not
  196. defined.
  197. </para>
  198. </refsect1>
  199. <refsect1>
  200. <title>SEE ALSO</title>
  201. <para>
  202. <citerefentry>
  203. <refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
  204. </citerefentry>,
  205. <citerefentry>
  206. <refentrytitle>b10-loadzone</refentrytitle><manvolnum>8</manvolnum>
  207. </citerefentry>,
  208. <citerefentry>
  209. <refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum>
  210. </citerefentry>,
  211. <citerefentry>
  212. <refentrytitle>b10-stats</refentrytitle><manvolnum>8</manvolnum>
  213. </citerefentry>,
  214. <citerefentry>
  215. <refentrytitle>b10-zonemgr</refentrytitle><manvolnum>8</manvolnum>
  216. </citerefentry>,
  217. <citerefentry>
  218. <refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum>
  219. </citerefentry>,
  220. <citetitle>BIND 10 Guide</citetitle>.
  221. </para>
  222. </refsect1>
  223. <refsect1>
  224. <title>HISTORY</title>
  225. <para>
  226. The <command>b10-auth</command> daemon was first coded in October 2009.
  227. </para>
  228. </refsect1>
  229. </refentry><!--
  230. - Local variables:
  231. - mode: sgml
  232. - End:
  233. -->