b10-zonemgr.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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-2011 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>May 19, 2011</date>
  22. </refentryinfo>
  23. <refmeta>
  24. <refentrytitle>b10-zonemgr</refentrytitle>
  25. <manvolnum>8</manvolnum>
  26. <refmiscinfo>BIND10</refmiscinfo>
  27. </refmeta>
  28. <refnamediv>
  29. <refname>b10-zonemgr</refname>
  30. <refpurpose>BIND 10 Secondary zone manager</refpurpose>
  31. </refnamediv>
  32. <docinfo>
  33. <copyright>
  34. <year>2010-2011</year>
  35. <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
  36. </copyright>
  37. </docinfo>
  38. <refsynopsisdiv>
  39. <cmdsynopsis>
  40. <command>b10-zonemgr</command>
  41. <arg><option>-v</option></arg>
  42. <arg><option>--verbose</option></arg>
  43. </cmdsynopsis>
  44. </refsynopsisdiv>
  45. <refsect1>
  46. <title>DESCRIPTION</title>
  47. <para>The <command>b10-zonemgr</command> daemon, also known
  48. as the BIND 10 secondary manager, keeps track of timers
  49. and other information necessary for BIND 10 to act as a DNS slave.
  50. Normally it is started by the
  51. <citerefentry><refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  52. boss process.
  53. </para>
  54. <para>
  55. This daemon communicates with BIND 10 over a
  56. <citerefentry><refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  57. C-Channel connection. If this connection is not established,
  58. <command>b10-zonemgr</command> will exit.
  59. <!-- TODO what if connection closes later, will b10-zonemgr exit? -->
  60. </para>
  61. <para>
  62. <command>b10-zonemgr</command> receives its configurations from
  63. <citerefentry><refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
  64. </para>
  65. <!--
  66. self._send_command(XFRIN_MODULE_NAME, ZONE_NOTIFY_COMMAND, param)
  67. self._clear_zone_notifier_master(zone_name_class)
  68. # Send refresh command to xfrin module
  69. else:
  70. param = {"zone_name" : zone_name_class[0],
  71. "zone_class" : zone_name_class[1]
  72. }
  73. self._send_command(XFRIN_MODULE_NAME, ZONE_REFRESH_COMMAND, param)
  74. -->
  75. </refsect1>
  76. <refsect1>
  77. <title>CONFIGURATION AND COMMANDS</title>
  78. <para>
  79. The configurable settings are:
  80. </para>
  81. <para>
  82. <varname>lowerbound_refresh</varname>
  83. defines the minimum SOA REFRESH time in seconds.
  84. The default is 10.
  85. </para>
  86. <para>
  87. <varname>lowerbound_retry</varname>
  88. defines the minimum SOA RETRY time in seconds.
  89. The default is 5.
  90. </para>
  91. <para>
  92. <varname>refresh_jitter</varname>
  93. This value is a real number.
  94. The maximum amount is 0.5.
  95. The default is 0.25.
  96. </para>
  97. <!-- TODO: needs to be documented -->
  98. <!-- TODO: Set to 0 to disable the jitter. -->
  99. <para>
  100. <varname>reload_jitter</varname>
  101. This value is a real number.
  102. The default is 0.75.
  103. </para>
  104. <!-- TODO: needs to be documented -->
  105. <!-- TODO: Set to 0 to disable the jitter. -->
  106. <!-- what does 0 do? -->
  107. <!-- TODO: no max? -->
  108. <!-- TODO: remove this. This is old removed config
  109. <para>
  110. <varname>jitter_scope</varname>
  111. defines the random jitter range subtracted from the refresh
  112. and retry timers to avoid many zones from refreshing at the
  113. same time.
  114. The refresh or retry time actually used is a random time
  115. between the defined refresh or retry time and it multiplied
  116. by the <varname>jitter_scope</varname>.
  117. This is re-evaluated after each refresh or retry.
  118. This value is a real number and the maximum is 0.5 (half of the
  119. refresh or retry time).
  120. The default is 0.25.
  121. Set to 0 to disable the jitter.
  122. </para>
  123. -->
  124. <para>
  125. <varname>max_transfer_timeout</varname>
  126. defines the maximum amount of time in seconds for a transfer.
  127. <!-- TODO: what is the purpose of this? -->
  128. The default is 14400 (4 hours).
  129. </para>
  130. <!-- TODO: this duplicates list in Xfrin too -->
  131. <para>
  132. <varname>secondary_zones</varname> is a list of slave zones
  133. that the <command>b10-zonemgr</command> should keep timers for.
  134. The list items include the <varname>name</varname> (which
  135. defines the zone name) and the <varname>class</varname>
  136. (which defaults to <quote>IN</quote>).
  137. </para>
  138. <para>
  139. (A deprecated configuration is <varname>jitter_scope</varname>
  140. which is superceded by <varname>refresh_jitter</varname>
  141. and <varname>reload_jitter</varname>.)
  142. </para>
  143. <!-- TODO: formating -->
  144. <para>
  145. The configuration commands are:
  146. </para>
  147. <para>
  148. <command>notify</command> (sent by
  149. <citerefentry><refentrytitle>b10-auth</refentrytitle><manvolnum>8</manvolnum></citerefentry>)
  150. tells <command>b10-zonemgr</command>
  151. the zone name and class, and the IP address for the master
  152. (source of the NOTIFY message).
  153. This will set the zone's refresh time to now.
  154. <!-- TODO reword this -->
  155. This is an internal command and not exposed to the administrator.
  156. <!-- not defined in spec -->
  157. </para>
  158. <para>
  159. <command>shutdown</command> exits <command>b10-zonemgr</command>.
  160. (Note that the BIND 10 boss process will restart this service.)
  161. </para>
  162. <para>
  163. <command>zone_new_data_ready</command> is sent from
  164. <citerefentry><refentrytitle>b10-xfrin</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  165. to indicate that the zone transferred in successfully.
  166. This is an internal command and not exposed to the administrator.
  167. <!-- not defined in spec -->
  168. </para>
  169. <para>
  170. <command>zone_xfrin_failed</command> is sent from
  171. <citerefentry><refentrytitle>b10-xfrin</refentrytitle><manvolnum>8</manvolnum></citerefentry>
  172. to indicate a failure (such as a transfer-in was incomplete).
  173. The refresh timer for the zone is reset.
  174. <!--
  175. """Set zone next refresh time after zone refresh fail.
  176. now + retry*3/4 <= next_refresh_time <= now + retry
  177. -->
  178. This is an internal command and not exposed to the administrator.
  179. <!-- not defined in spec -->
  180. </para>
  181. </refsect1>
  182. <!--
  183. <refsect1>
  184. <title>OPTIONS</title>
  185. <para>The arguments are as follows:</para>
  186. <variablelist>
  187. <varlistentry>
  188. <term><option></option></term>
  189. <listitem><para>
  190. </para></listitem>
  191. </varlistentry>
  192. </variablelist>
  193. </refsect1>
  194. -->
  195. <!--
  196. <refsect1>
  197. <title>FILES</title>
  198. <para>
  199. <filename>/tmp/auth_xfrout_conn</filename>
  200. </para>
  201. </refsect1>
  202. -->
  203. <refsect1>
  204. <title>SEE ALSO</title>
  205. <para>
  206. <citerefentry>
  207. <refentrytitle>b10-auth</refentrytitle><manvolnum>8</manvolnum>
  208. </citerefentry>,
  209. <citerefentry>
  210. <refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
  211. </citerefentry>,
  212. <citerefentry>
  213. <refentrytitle>b10-msgq</refentrytitle><manvolnum>8</manvolnum>
  214. </citerefentry>,
  215. <citerefentry>
  216. <refentrytitle>b10-xfrin</refentrytitle><manvolnum>8</manvolnum>
  217. </citerefentry>,
  218. <citerefentry>
  219. <refentrytitle>b10-xfrout</refentrytitle><manvolnum>8</manvolnum>
  220. </citerefentry>,
  221. <citerefentry>
  222. <refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum>
  223. </citerefentry>,
  224. <citetitle>BIND 10 Guide</citetitle>.
  225. </para>
  226. </refsect1>
  227. <refsect1>
  228. <title>HISTORY</title>
  229. <para>
  230. The <command>b10-zonemgr</command> daemon was designed in July 2010
  231. by CNNIC for the ISC BIND 10 project.
  232. </para>
  233. </refsect1>
  234. </refentry><!--
  235. - Local variables:
  236. - mode: sgml
  237. - End:
  238. -->