b10-auth.xml.pre 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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>October 3, 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>-v</option></arg>
  42. </cmdsynopsis>
  43. </refsynopsisdiv>
  44. <refsect1>
  45. <title>DESCRIPTION</title>
  46. <para>The <command>b10-auth</command> daemon provides the BIND 10
  47. authoritative DNS server.
  48. Normally it is started by the
  49. <citerefentry><refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  50. boss process.
  51. </para>
  52. <para>
  53. This daemon communicates with other BIND 10 components over a
  54. <citerefentry><refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  55. C-Channel connection. If this connection is not established,
  56. <command>b10-auth</command> will exit.
  57. <!-- TODO what if msgq connection closes later, will b10-auth exit? -->
  58. It receives its configurations from
  59. <citerefentry><refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
  60. </para>
  61. <!-- TODO: mention xfrin, xfrout, zonemgr ? -->
  62. </refsect1>
  63. <refsect1>
  64. <title>OPTIONS</title>
  65. <para>The arguments are as follows:</para>
  66. <variablelist>
  67. <varlistentry>
  68. <term><option>-v</option></term>
  69. <listitem><para>
  70. Enable verbose logging mode. This enables logging of
  71. diagnostic messages at the maximum debug level.
  72. </para></listitem>
  73. </varlistentry>
  74. </variablelist>
  75. </refsect1>
  76. <refsect1>
  77. <title>CONFIGURATION AND COMMANDS</title>
  78. <para>
  79. The configurable settings are:
  80. </para>
  81. <para>
  82. <varname>database_file</varname> defines the path to the
  83. SQLite3 zone file when using the sqlite datasource.
  84. The default is
  85. <filename>@@LOCALSTATEDIR@@/bind10-devel/zone.sqlite3</filename>.
  86. </para>
  87. <para>
  88. <varname>datasources</varname> configures data sources.
  89. The list items include:
  90. <varname>type</varname> to define the required data source type
  91. (such as <quote>memory</quote>);
  92. <varname>class</varname> to optionally select the class
  93. (it defaults to <quote>IN</quote>);
  94. and
  95. <varname>zones</varname> to define the
  96. <varname>file</varname> path name,
  97. <varname>origin</varname> (default domain), and optional
  98. <varname>filetype</varname>.
  99. By default, <varname>zones</varname> is empty.
  100. For the in-memory data source (i.e., the <varname>type</varname>
  101. is <quote>memory</quote>), the optional <varname>filetype</varname>
  102. configuration item for <varname>zones</varname> can be
  103. specified so the in-memory zone data can be built from another
  104. data source that is based on a database backend (in practice
  105. with current implementation, it would be an SQLite3 database
  106. file for the SQLite3 data source).
  107. See the <citetitle>BIND 10 Guide</citetitle> for configuration
  108. details.
  109. <note><simpara>
  110. Only the IN class is supported at this time.
  111. By default, the memory data source is disabled.
  112. Also, currently the zone file must be canonical such as
  113. generated by <command>named-compilezone -D</command>.
  114. </simpara></note>
  115. </para>
  116. <para>
  117. <varname>listen_on</varname> is a list of addresses and ports for
  118. <command>b10-auth</command> to listen on.
  119. The list items are the <varname>address</varname> string
  120. and <varname>port</varname> number.
  121. By default, <command>b10-auth</command> listens on port 53
  122. on the IPv6 (::) and IPv4 (0.0.0.0) wildcard addresses.
  123. </para>
  124. <para>
  125. <varname>tcp_recv_timeout</varname> is the timeout used on
  126. incoming TCP connections, in milliseconds. If the query
  127. is not sent within this time, the connection is closed.
  128. Setting this to 0 will disable TCP timeouts completely.
  129. </para>
  130. <!-- TODO: formating -->
  131. <para>
  132. The configuration commands are:
  133. </para>
  134. <para>
  135. <command>loadzone</command> tells <command>b10-auth</command>
  136. to load or reload a zone file. The arguments include:
  137. <varname>class</varname> which optionally defines the class
  138. (it defaults to <quote>IN</quote>);
  139. <varname>origin</varname> is the domain name of the zone;
  140. and
  141. <varname>datasrc</varname> optionally defines the type of datasource
  142. (it defaults to <quote>memory</quote>).
  143. <note><simpara>
  144. In this development version, currently this only supports the
  145. IN class and the memory data source.
  146. </simpara></note>
  147. </para>
  148. <para>
  149. <command>getstats</command> tells <command>b10-auth</command>
  150. to send its statistics data.
  151. </para>
  152. <para>
  153. <command>shutdown</command> exits <command>b10-auth</command>.
  154. This has an optional <varname>pid</varname> argument to
  155. select the process ID to stop.
  156. (Note that the BIND 10 boss process may restart this service
  157. if configured.)
  158. </para>
  159. </refsect1>
  160. <refsect1>
  161. <title>STATISTICS DATA</title>
  162. <para>
  163. The statistics data collected by the <command>b10-stats</command>
  164. daemon for <quote>Auth</quote> include:
  165. </para>
  166. <!-- ### STATISTICS DATA PLACEHOLDER ### -->
  167. <note>
  168. <para>
  169. Opcode of a request message will not be counted if:
  170. <itemizedlist>
  171. <listitem><para>
  172. The request message is too short to parse the message header
  173. </para></listitem>
  174. <listitem><para>
  175. The request message is a response (i.e. QR bit is set)
  176. </para></listitem>
  177. </itemizedlist>
  178. </para>
  179. <para>
  180. Request attributes except for opcode will not be counted if TSIG
  181. validation failed as they are not reliable.
  182. We always count opcode mainly for compatibility with BIND 9,
  183. but remember that if there's any error related to TSIG, some
  184. of the counted opcode may not be trustworthy.
  185. </para>
  186. </note>
  187. </refsect1>
  188. <refsect1>
  189. <title>FILES</title>
  190. <para>
  191. <filename>@@LOCALSTATEDIR@@/bind10-devel/zone.sqlite3</filename>
  192. &mdash; Location for the SQLite3 zone database
  193. when <emphasis>database_file</emphasis> configuration is not
  194. defined.
  195. </para>
  196. </refsect1>
  197. <refsect1>
  198. <title>SEE ALSO</title>
  199. <para>
  200. <citerefentry>
  201. <refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
  202. </citerefentry>,
  203. <citerefentry>
  204. <refentrytitle>b10-loadzone</refentrytitle><manvolnum>8</manvolnum>
  205. </citerefentry>,
  206. <citerefentry>
  207. <refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum>
  208. </citerefentry>,
  209. <citerefentry>
  210. <refentrytitle>b10-stats</refentrytitle><manvolnum>8</manvolnum>
  211. </citerefentry>,
  212. <citerefentry>
  213. <refentrytitle>b10-zonemgr</refentrytitle><manvolnum>8</manvolnum>
  214. </citerefentry>,
  215. <citerefentry>
  216. <refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum>
  217. </citerefentry>,
  218. <citetitle>BIND 10 Guide</citetitle>.
  219. </para>
  220. </refsect1>
  221. <refsect1>
  222. <title>HISTORY</title>
  223. <para>
  224. The <command>b10-auth</command> daemon was first coded in October 2009.
  225. </para>
  226. </refsect1>
  227. </refentry><!--
  228. - Local variables:
  229. - mode: sgml
  230. - End:
  231. -->