b10-auth.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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 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. <!-- $Id$ -->
  20. <refentry>
  21. <refentryinfo>
  22. <date>July 29, 2010</date>
  23. </refentryinfo>
  24. <refmeta>
  25. <refentrytitle>b10-auth</refentrytitle>
  26. <manvolnum>8</manvolnum>
  27. <refmiscinfo>BIND10</refmiscinfo>
  28. </refmeta>
  29. <refnamediv>
  30. <refname>b10-auth</refname>
  31. <refpurpose>Authoritative DNS server</refpurpose>
  32. </refnamediv>
  33. <docinfo>
  34. <copyright>
  35. <year>2010</year>
  36. <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
  37. </copyright>
  38. </docinfo>
  39. <refsynopsisdiv>
  40. <cmdsynopsis>
  41. <command>b10-auth</command>
  42. <arg><option>-4</option></arg>
  43. <arg><option>-6</option></arg>
  44. <arg><option>-a <replaceable>address</replaceable></option></arg>
  45. <arg><option>-n</option></arg>
  46. <arg><option>-p <replaceable>number</replaceable></option></arg>
  47. <arg><option>-u <replaceable>username</replaceable></option></arg>
  48. <arg><option>-v</option></arg>
  49. </cmdsynopsis>
  50. </refsynopsisdiv>
  51. <refsect1>
  52. <title>DESCRIPTION</title>
  53. <para>The <command>b10-auth</command> daemon provides the BIND 10
  54. authoritative DNS server.
  55. Normally it is started by the
  56. <citerefentry><refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  57. boss process.
  58. </para>
  59. <para>
  60. This daemon communicates with other BIND 10 components over a
  61. <citerefentry><refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  62. C-Channel connection. If this connection is not established,
  63. <command>b10-auth</command> will exit.
  64. <!-- TODO what if msgq connection closes later, will b10-auth exit? -->
  65. </para>
  66. <para>
  67. It also receives its configurations from
  68. <citerefentry><refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
  69. It will honor the <emphasis>database_file</emphasis> configuration
  70. to point to the SQLite3 zone file.
  71. <!-- TODO: data source -->
  72. </para>
  73. <note><para>
  74. This prototype version uses SQLite3 as its data source backend.
  75. Future versions will be configurable, supporting multiple
  76. data storage types.
  77. </para></note>
  78. </refsect1>
  79. <refsect1>
  80. <title>OPTIONS</title>
  81. <para>The arguments are as follows:</para>
  82. <variablelist>
  83. <varlistentry>
  84. <term><option>-4</option></term>
  85. <listitem><para>
  86. Enables IPv4 only mode.
  87. This switch may not be used with <option>-6</option> nor
  88. <option>-a</option>.
  89. By default, it listens on both IPv4 and IPv6 (if capable).
  90. </para></listitem>
  91. </varlistentry>
  92. <varlistentry>
  93. <term><option>-6</option></term>
  94. <listitem><para>
  95. Enables IPv6 only mode.
  96. This switch may not be used with <option>-4</option> nor
  97. <option>-a</option>.
  98. By default, it listens on both IPv4 and IPv6 (if capable).
  99. </para></listitem>
  100. </varlistentry>
  101. <varlistentry>
  102. <term><option>-a <replaceable>address</replaceable></option></term>
  103. <listitem>
  104. <para>The IPv4 or IPv6 address to listen on.
  105. This switch may not be used with <option>-4</option> nor
  106. <option>-6</option>.
  107. The default is to listen on all addresses.
  108. (This is a short term workaround. This argument may change.)
  109. </para>
  110. </listitem>
  111. </varlistentry>
  112. <varlistentry>
  113. <term><option>-n</option></term>
  114. <listitem><para>
  115. Do not cache answers in memory.
  116. The default is to use the cache for faster responses.
  117. The cache keeps the most recent 30,000 answers (positive
  118. and negative) in memory for 30 seconds (instead of querying
  119. the data source, such as SQLite3 database, each time).
  120. </para></listitem>
  121. </varlistentry>
  122. <varlistentry>
  123. <term><option>-p <replaceable>number</replaceable></option></term>
  124. <listitem><para>
  125. The port number it listens on.
  126. The default is 5300.</para>
  127. <note><simpara>The Y1 prototype runs on all interfaces
  128. and on this nonstandard port.</simpara></note>
  129. </listitem>
  130. </varlistentry>
  131. <varlistentry>
  132. <term><option>-u <replaceable>username</replaceable></option></term>
  133. <listitem>
  134. <para>
  135. The user name of the <command>b10-auth</command> daemon.
  136. If specified, the daemon changes the process owner to the
  137. specified user.
  138. The <replaceable>username</replaceable> must be either a
  139. valid numeric user ID or a valid user name.
  140. By default the daemon runs as the user who invokes it.
  141. </para>
  142. </listitem>
  143. </varlistentry>
  144. <varlistentry>
  145. <term><option>-v</option></term>
  146. <listitem><para>
  147. Enabled verbose mode. This enables diagnostic messages to
  148. STDERR.
  149. </para></listitem>
  150. </varlistentry>
  151. </variablelist>
  152. </refsect1>
  153. <refsect1>
  154. <title>FILES</title>
  155. <para>
  156. <filename>/usr/local/var/db/zone.sqlite3</filename>
  157. &mdash; Location for the SQLite3 zone database
  158. when <emphasis>database_file</emphasis> configuration is not
  159. defined.
  160. </para>
  161. <!-- TODO: this is not correct yet. -->
  162. </refsect1>
  163. <refsect1>
  164. <title>SEE ALSO</title>
  165. <para>
  166. <citerefentry>
  167. <refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
  168. </citerefentry>,
  169. <citerefentry>
  170. <refentrytitle>b10-cmdctl</refentrytitle><manvolnum>8</manvolnum>
  171. </citerefentry>,
  172. <citerefentry>
  173. <refentrytitle>b10-loadzone</refentrytitle><manvolnum>8</manvolnum>
  174. </citerefentry>,
  175. <citerefentry>
  176. <refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum>
  177. </citerefentry>,
  178. <citerefentry>
  179. <refentrytitle>b10-zonemgr</refentrytitle><manvolnum>8</manvolnum>
  180. </citerefentry>,
  181. <citerefentry>
  182. <refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum>
  183. </citerefentry>,
  184. <citetitle>BIND 10 Guide</citetitle>.
  185. </para>
  186. </refsect1>
  187. <refsect1>
  188. <title>HISTORY</title>
  189. <para>
  190. The <command>b10-auth</command> daemon was first coded in October 2009.
  191. </para>
  192. </refsect1>
  193. </refentry><!--
  194. - Local variables:
  195. - mode: sgml
  196. - End:
  197. -->