b10-auth.8 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. '\" t
  2. .\" Title: b10-auth
  3. .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
  4. .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
  5. .\" Date: June 20, 2012
  6. .\" Manual: BIND10
  7. .\" Source: BIND10
  8. .\" Language: English
  9. .\"
  10. .TH "B10\-AUTH" "8" "June 20, 2012" "BIND10" "BIND10"
  11. .\" -----------------------------------------------------------------
  12. .\" * set default formatting
  13. .\" -----------------------------------------------------------------
  14. .\" disable hyphenation
  15. .nh
  16. .\" disable justification (adjust text to left margin only)
  17. .ad l
  18. .\" -----------------------------------------------------------------
  19. .\" * MAIN CONTENT STARTS HERE *
  20. .\" -----------------------------------------------------------------
  21. .SH "NAME"
  22. b10-auth \- Authoritative DNS server
  23. .SH "SYNOPSIS"
  24. .HP \w'\fBb10\-auth\fR\ 'u
  25. \fBb10\-auth\fR [\fB\-n\fR] [\fB\-v\fR]
  26. .SH "DESCRIPTION"
  27. .PP
  28. The
  29. \fBb10\-auth\fR
  30. daemon provides the BIND 10 authoritative DNS server\&. Normally it is started by the
  31. \fBbind10\fR(8)
  32. boss process\&.
  33. .PP
  34. This daemon communicates with other BIND 10 components over a
  35. \fBb10-msgq\fR(8)
  36. C\-Channel connection\&. If this connection is not established,
  37. \fBb10\-auth\fR
  38. will exit\&.
  39. It receives its configurations from
  40. \fBb10-cfgmgr\fR(8)\&.
  41. .SH "OPTIONS"
  42. .PP
  43. The arguments are as follows:
  44. .PP
  45. \fB\-n\fR
  46. .RS 4
  47. Do not cache answers in memory\&. The default is to use the cache for faster responses\&. The cache keeps the most recent 30,000 answers (positive and negative) in memory for 30 seconds (instead of querying the data source, such as SQLite3 database, each time)\&.
  48. .RE
  49. .PP
  50. \fB\-v\fR
  51. .RS 4
  52. Enable verbose logging mode\&. This enables logging of diagnostic messages at the maximum debug level\&.
  53. .RE
  54. .SH "CONFIGURATION AND COMMANDS"
  55. .PP
  56. The configurable settings are:
  57. .PP
  58. \fIdatabase_file\fR
  59. defines the path to the SQLite3 zone file when using the sqlite datasource\&. The default is
  60. /usr/local/var/bind10\-devel/zone\&.sqlite3\&.
  61. .PP
  62. \fIdatasources\fR
  63. configures data sources\&. The list items include:
  64. \fItype\fR
  65. to define the required data source type (such as
  66. \(lqmemory\(rq);
  67. \fIclass\fR
  68. to optionally select the class (it defaults to
  69. \(lqIN\(rq); and
  70. \fIzones\fR
  71. to define the
  72. \fIfile\fR
  73. path name,
  74. \fIorigin\fR
  75. (default domain), and optional
  76. \fIfiletype\fR\&. By default,
  77. \fIzones\fR
  78. is empty\&. For the in\-memory data source (i\&.e\&., the
  79. \fItype\fR
  80. is
  81. \(lqmemory\(rq), the optional
  82. \fIfiletype\fR
  83. configuration item for
  84. \fIzones\fR
  85. can be specified so the in\-memory zone data can be built from another data source that is based on a database backend (in practice with current implementation, it would be an SQLite3 database file for the SQLite3 data source)\&. See the
  86. BIND 10 Guide
  87. for configuration details\&.
  88. .if n \{\
  89. .sp
  90. .\}
  91. .RS 4
  92. .it 1 an-trap
  93. .nr an-no-space-flag 1
  94. .nr an-break-flag 1
  95. .br
  96. .ps +1
  97. \fBNote\fR
  98. .ps -1
  99. .br
  100. .sp
  101. Only the IN class is supported at this time\&. By default, the memory data source is disabled\&. Also, currently the zone file must be canonical such as generated by \fBnamed\-compilezone \-D\fR\&.
  102. .sp .5v
  103. .RE
  104. .PP
  105. \fIlisten_on\fR
  106. is a list of addresses and ports for
  107. \fBb10\-auth\fR
  108. to listen on\&. The list items are the
  109. \fIaddress\fR
  110. string and
  111. \fIport\fR
  112. number\&. By default,
  113. \fBb10\-auth\fR
  114. listens on port 53 on the IPv6 (::) and IPv4 (0\&.0\&.0\&.0) wildcard addresses\&.
  115. .PP
  116. \fIstatistics\-interval\fR
  117. is the timer interval in seconds for
  118. \fBb10\-auth\fR
  119. to share its statistics information to
  120. \fBb10-stats\fR(8)\&. Statistics updates can be disabled by setting this to 0\&. The default is 60\&.
  121. .PP
  122. The configuration commands are:
  123. .PP
  124. \fBloadzone\fR
  125. tells
  126. \fBb10\-auth\fR
  127. to load or reload a zone file\&. The arguments include:
  128. \fIclass\fR
  129. which optionally defines the class (it defaults to
  130. \(lqIN\(rq);
  131. \fIorigin\fR
  132. is the domain name of the zone; and
  133. \fIdatasrc\fR
  134. optionally defines the type of datasource (it defaults to
  135. \(lqmemory\(rq)\&.
  136. .if n \{\
  137. .sp
  138. .\}
  139. .RS 4
  140. .it 1 an-trap
  141. .nr an-no-space-flag 1
  142. .nr an-break-flag 1
  143. .br
  144. .ps +1
  145. \fBNote\fR
  146. .ps -1
  147. .br
  148. .sp
  149. In this development version, currently this only supports the IN class and the memory data source\&.
  150. .sp .5v
  151. .RE
  152. .PP
  153. \fBsendstats\fR
  154. tells
  155. \fBb10\-auth\fR
  156. to send its statistics data to
  157. \fBb10-stats\fR(8)
  158. immediately\&.
  159. .PP
  160. \fBshutdown\fR
  161. exits
  162. \fBb10\-auth\fR\&. This has an optional
  163. \fIpid\fR
  164. argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
  165. .SH "STATISTICS DATA"
  166. .PP
  167. The statistics data collected by the
  168. \fBb10\-stats\fR
  169. daemon for
  170. \(lqAuth\(rq
  171. include:
  172. .PP
  173. queries\&.tcp
  174. .RS 4
  175. Total count of queries received by the
  176. \fBb10\-auth\fR
  177. server over TCP since startup\&.
  178. .RE
  179. .PP
  180. queries\&.udp
  181. .RS 4
  182. Total count of queries received by the
  183. \fBb10\-auth\fR
  184. server over UDP since startup\&.
  185. .RE
  186. .SH "FILES"
  187. .PP
  188. /usr/local/var/bind10\-devel/zone\&.sqlite3
  189. \(em Location for the SQLite3 zone database when
  190. \fIdatabase_file\fR
  191. configuration is not defined\&.
  192. .SH "SEE ALSO"
  193. .PP
  194. \fBb10-cfgmgr\fR(8),
  195. \fBb10-loadzone\fR(8),
  196. \fBb10-msgq\fR(8),
  197. \fBb10-stats\fR(8),
  198. \fBb10-zonemgr\fR(8),
  199. \fBbind10\fR(8),
  200. BIND 10 Guide\&.
  201. .SH "HISTORY"
  202. .PP
  203. The
  204. \fBb10\-auth\fR
  205. daemon was first coded in October 2009\&.
  206. .SH "COPYRIGHT"
  207. .br
  208. Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
  209. .br