bind10.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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. <refentry>
  20. <refentryinfo>
  21. <date>March 31, 2011</date>
  22. </refentryinfo>
  23. <refmeta>
  24. <refentrytitle>bind10</refentrytitle>
  25. <manvolnum>8</manvolnum>
  26. <refmiscinfo>BIND10</refmiscinfo>
  27. </refmeta>
  28. <refnamediv>
  29. <refname>bind10</refname>
  30. <refpurpose>BIND 10 boss process</refpurpose>
  31. </refnamediv>
  32. <docinfo>
  33. <copyright>
  34. <year>2011</year>
  35. <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
  36. </copyright>
  37. </docinfo>
  38. <refsynopsisdiv>
  39. <cmdsynopsis>
  40. <command>bind10</command>
  41. <arg><option>-c <replaceable>config-filename</replaceable></option></arg>
  42. <arg><option>-m <replaceable>file</replaceable></option></arg>
  43. <arg><option>-n</option></arg>
  44. <arg><option>-p <replaceable>data_path</replaceable></option></arg>
  45. <arg><option>-u <replaceable>user</replaceable></option></arg>
  46. <arg><option>-v</option></arg>
  47. <arg><option>--brittle</option></arg>
  48. <arg><option>--cmdctl-port</option> <replaceable>port</replaceable></arg>
  49. <arg><option>--config-file</option> <replaceable>config-filename</replaceable></arg>
  50. <arg><option>--data-path</option> <replaceable>directory</replaceable></arg>
  51. <arg><option>--msgq-socket-file <replaceable>file</replaceable></option></arg>
  52. <arg><option>--no-cache</option></arg>
  53. <arg><option>--pid-file</option> <replaceable>filename</replaceable></arg>
  54. <arg><option>--pretty-name <replaceable>name</replaceable></option></arg>
  55. <arg><option>--user <replaceable>user</replaceable></option></arg>
  56. <arg><option>--verbose</option></arg>
  57. </cmdsynopsis>
  58. </refsynopsisdiv>
  59. <refsect1>
  60. <title>DESCRIPTION</title>
  61. <para>The <command>bind10</command> daemon starts up other
  62. BIND 10 required daemons. It handles restarting of exiting
  63. programs and also the shutdown of all managed daemons.</para>
  64. <!-- TODO: list what it starts here? -->
  65. <!-- TODO
  66. <para>The configuration of the <command>bind10</command> daemon
  67. is defined in the TODO configuration file, as described in the
  68. <citerefentry><refentrytitle>TODO</refentrytitle><manvolnum>5</manvolnum></citerefentry>
  69. manual page.</para>
  70. -->
  71. </refsect1>
  72. <refsect1>
  73. <title>ARGUMENTS</title>
  74. <para>The arguments are as follows:</para>
  75. <variablelist>
  76. <varlistentry>
  77. <term>
  78. <option>--brittle</option>
  79. </term>
  80. <listitem>
  81. <para>
  82. Shutdown if any of the child processes of
  83. <command>bind10</command> exit. This is intended to
  84. help developers debug the server, and should not be
  85. used in production.
  86. </para>
  87. </listitem>
  88. </varlistentry>
  89. <varlistentry>
  90. <term>
  91. <option>-c</option> <replaceable>config-filename</replaceable>,
  92. <option>--config-file</option> <replaceable>config-filename</replaceable>
  93. </term>
  94. <listitem>
  95. <para>The configuration filename to use. Can be either absolute or
  96. relative to data path. In case it is absolute, value of data path is
  97. not considered.</para>
  98. <para>Defaults to b10-config.db.</para>
  99. </listitem>
  100. </varlistentry>
  101. <varlistentry>
  102. <term>
  103. <option>--cmdctl-port</option> <replaceable>port</replaceable>
  104. </term>
  105. <listitem>
  106. <para>The <command>b10-cmdctl</command> daemon will listen
  107. on this port.
  108. (See
  109. <refentrytitle>b10-cmdctl</refentrytitle><manvolnum>8</manvolnum>
  110. for the default.)
  111. </para>
  112. </listitem>
  113. </varlistentry>
  114. <varlistentry>
  115. <term>
  116. <option>-p</option> <replaceable>directory</replaceable>,
  117. <option>--data-path</option> <replaceable>directory</replaceable>
  118. </term>
  119. <listitem>
  120. <para>The path where BIND 10 programs look for various data files.
  121. Currently only b10-cfgmgr uses it to locate the configuration file,
  122. but the usage might be extended for other programs and other types
  123. of files.</para>
  124. </listitem>
  125. </varlistentry>
  126. <varlistentry>
  127. <term><option>-m</option> <replaceable>file</replaceable>,
  128. <option>--msgq-socket-file</option> <replaceable>file</replaceable></term>
  129. <listitem>
  130. <para>The UNIX domain socket file for the
  131. <citerefentry><refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  132. daemon to use.
  133. The default is
  134. <filename>/usr/local/var/bind10-devel/msg_socket</filename>.
  135. <!-- @localstatedir@/@PACKAGE_NAME@/msg_socket -->
  136. </para>
  137. </listitem>
  138. </varlistentry>
  139. <varlistentry>
  140. <term><option>-n</option>, <option>--no-cache</option></term>
  141. <listitem>
  142. <para>Disables the hot-spot caching used by the
  143. <citerefentry><refentrytitle>b10-auth</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  144. daemon.</para>
  145. </listitem>
  146. </varlistentry>
  147. <varlistentry>
  148. <term><option>-u</option> <replaceable>user</replaceable>, <option>--user</option> <replaceable>name</replaceable></term>
  149. <listitem>
  150. <para>The username for <command>bind10</command> to run as.
  151. <!-- TODO: example more detail. -->
  152. <command>bind10</command> must be initially ran as the
  153. root user to use this option.
  154. The default is to run as the current user.</para>
  155. </listitem>
  156. </varlistentry>
  157. <varlistentry>
  158. <term><option>--pid-file</option> <replaceable>filename</replaceable></term>
  159. <listitem>
  160. <para>If defined, the PID of the <command>bind10</command> is stored
  161. in this file.
  162. This is used for testing purposes.
  163. </para>
  164. </listitem>
  165. </varlistentry>
  166. <varlistentry>
  167. <term><option>--pretty-name <replaceable>name</replaceable></option></term>
  168. <listitem>
  169. <para>The name this process should have in tools like
  170. <command>ps</command> or <command>top</command>. This
  171. is handy if you have multiple versions/installations
  172. of <command>bind10</command>.
  173. <!-- TODO: only supported with setproctitle feature
  174. The default is the basename of ARG 0.
  175. -->
  176. </para>
  177. </listitem>
  178. </varlistentry>
  179. <varlistentry>
  180. <term><option>-v</option>, <option>--verbose</option></term>
  181. <listitem>
  182. <para>Display more about what is going on for
  183. <command>bind10</command> and its child processes.</para>
  184. <!-- TODO: not true about all children yet -->
  185. </listitem>
  186. </varlistentry>
  187. </variablelist>
  188. </refsect1>
  189. <!--
  190. TODO: configuration section
  191. -->
  192. <!--
  193. <refsect1>
  194. <title>FILES</title>
  195. <para><filename></filename>
  196. </para>
  197. </refsect1>
  198. -->
  199. <refsect1>
  200. <title>SEE ALSO</title>
  201. <para>
  202. <citerefentry>
  203. <refentrytitle>bindctl</refentrytitle><manvolnum>1</manvolnum>
  204. </citerefentry>,
  205. <citerefentry>
  206. <refentrytitle>b10-auth</refentrytitle><manvolnum>8</manvolnum>
  207. </citerefentry>,
  208. <citerefentry>
  209. <refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
  210. </citerefentry>,
  211. <citerefentry>
  212. <refentrytitle>b10-cmdctl</refentrytitle><manvolnum>8</manvolnum>
  213. </citerefentry>,
  214. <citerefentry>
  215. <refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum>
  216. </citerefentry>,
  217. <citerefentry>
  218. <refentrytitle>b10-xfrin</refentrytitle><manvolnum>8</manvolnum>
  219. </citerefentry>,
  220. <citerefentry>
  221. <refentrytitle>b10-xfrout</refentrytitle><manvolnum>8</manvolnum>
  222. </citerefentry>,
  223. <citerefentry>
  224. <refentrytitle>b10-zonemgr</refentrytitle><manvolnum>8</manvolnum>
  225. </citerefentry>,
  226. <citetitle>BIND 10 Guide</citetitle>.
  227. </para>
  228. </refsect1>
  229. <refsect1 id='history'><title>HISTORY</title>
  230. <para>The development of <command>bind10</command>
  231. was started in October 2009.</para>
  232. </refsect1>
  233. <refsect1>
  234. <title>AUTHORS</title>
  235. <para>
  236. The <command>bind10</command>
  237. daemon was initially designed by Shane Kerr of ISC.
  238. </para>
  239. </refsect1>
  240. </refentry><!--
  241. - Local variables:
  242. - mode: sgml
  243. - End:
  244. -->