bind10-guide.html 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  1. <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>BIND 10 Guide</title><link rel="stylesheet" href="./bind10-guide.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><meta name="description" content="BIND 10 is a Domain Name System (DNS) suite managed by Internet Systems Consortium (ISC). It includes DNS libraries and modular components for controlling authoritative and recursive DNS servers. This is the reference guide for BIND 10 version 20110120. The most up-to-date version of this document, along with other documents for BIND 10, can be found at ."></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" title="BIND 10 Guide"><div class="titlepage"><div><div><h1 class="title"><a name="id1168230298903"></a>BIND 10 Guide</h1></div><div><h2 class="subtitle">Administrator Reference for BIND 10</h2></div><div><p class="releaseinfo">This is the reference guide for BIND 10 version
  2. 20110120.</p></div><div><p class="copyright">Copyright © 2010 Internet Systems Consortium, Inc.</p></div><div><div class="abstract" title="Abstract"><p class="title"><b>Abstract</b></p><p>BIND 10 is a Domain Name System (DNS) suite managed by
  3. Internet Systems Consortium (ISC). It includes DNS libraries
  4. and modular components for controlling authoritative and
  5. recursive DNS servers.
  6. </p><p>
  7. This is the reference guide for BIND 10 version 20110120.
  8. The most up-to-date version of this document, along with
  9. other documents for BIND 10, can be found at <a class="ulink" href="http://bind10.isc.org/docs" target="_top">http://bind10.isc.org/docs</a>. </p></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="#intro">1. Introduction</a></span></dt><dd><dl><dt><span class="section"><a href="#id1168230299042">Supported Platforms</a></span></dt><dt><span class="section"><a href="#id1168230299068">Required Software</a></span></dt><dt><span class="section"><a href="#starting_stopping">Starting and Stopping the Server</a></span></dt><dt><span class="section"><a href="#managing_once_running">Managing BIND 10</a></span></dt></dl></dd><dt><span class="chapter"><a href="#installation">2. Installation</a></span></dt><dd><dl><dt><span class="section"><a href="#id1168230284843">Building Requirements</a></span></dt><dt><span class="section"><a href="#quickstart">Quick start</a></span></dt><dt><span class="section"><a href="#install">Installation from source</a></span></dt><dd><dl><dt><span class="section"><a href="#id1168230285029">Download Tar File</a></span></dt><dt><span class="section"><a href="#id1168230285048">Retrieve from Git</a></span></dt><dt><span class="section"><a href="#id1168230285109">Configure before the build</a></span></dt><dt><span class="section"><a href="#id1168230285206">Build</a></span></dt><dt><span class="section"><a href="#id1168230285222">Install</a></span></dt><dt><span class="section"><a href="#id1168230285245">Install Hierarchy</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#bind10">3. Starting BIND10 with <span class="command"><strong>bind10</strong></span></a></span></dt><dd><dl><dt><span class="section"><a href="#start">Starting BIND 10</a></span></dt></dl></dd><dt><span class="chapter"><a href="#msgq">4. Command channel</a></span></dt><dt><span class="chapter"><a href="#cfgmgr">5. Configuration manager</a></span></dt><dt><span class="chapter"><a href="#cmdctl">6. Remote control daemon</a></span></dt><dd><dl><dt><span class="section"><a href="#cmdctl.spec">Configuration specification for b10-cmdctl</a></span></dt></dl></dd><dt><span class="chapter"><a href="#bindctl">7. Control and configure user interface</a></span></dt><dt><span class="chapter"><a href="#authserver">8. Authoritative Server</a></span></dt><dd><dl><dt><span class="section"><a href="#id1168230285821">Server Configurations</a></span></dt><dt><span class="section"><a href="#id1168230285886">Data Source Backends</a></span></dt><dt><span class="section"><a href="#id1168230285917">Loading Master Zones Files</a></span></dt></dl></dd><dt><span class="chapter"><a href="#xfrin">9. Incoming Zone Transfers</a></span></dt><dt><span class="chapter"><a href="#xfrout">10. Outbound Zone Transfers</a></span></dt><dt><span class="chapter"><a href="#zonemgr">11. Secondary Manager</a></span></dt><dt><span class="chapter"><a href="#resolverserver">12. Recursive Name Server</a></span></dt><dt><span class="chapter"><a href="#statistics">13. Statistics</a></span></dt></dl></div><div class="chapter" title="Chapter 1. Introduction"><div class="titlepage"><div><div><h2 class="title"><a name="intro"></a>Chapter 1. Introduction</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#id1168230299042">Supported Platforms</a></span></dt><dt><span class="section"><a href="#id1168230299068">Required Software</a></span></dt><dt><span class="section"><a href="#starting_stopping">Starting and Stopping the Server</a></span></dt><dt><span class="section"><a href="#managing_once_running">Managing BIND 10</a></span></dt></dl></div><p>
  10. BIND is the popular implementation of a DNS server, developer
  11. interfaces, and DNS tools.
  12. BIND 10 is a rewrite of BIND 9. BIND 10 is written in C++ and Python
  13. and provides a modular environment for serving and maintaining DNS.
  14. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  15. This guide covers the experimental prototype of
  16. BIND 10 version 20110120.
  17. </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  18. BIND 10 provides a EDNS0- and DNSSEC-capable
  19. authoritative DNS server and a forwarding DNS server.
  20. </p></div><div class="section" title="Supported Platforms"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id1168230299042"></a>Supported Platforms</h2></div></div></div><p>
  21. BIND 10 builds have been tested on Debian GNU/Linux 5,
  22. Ubuntu 9.10, NetBSD 5, Solaris 10, FreeBSD 7 and 8, and CentOS
  23. Linux 5.3.
  24. It has been tested on Sparc, i386, and amd64 hardware
  25. platforms.
  26. It is planned for BIND 10 to build, install and run on
  27. Windows and standard Unix-type platforms.
  28. </p></div><div class="section" title="Required Software"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id1168230299068"></a>Required Software</h2></div></div></div><p>
  29. BIND 10 requires Python 3.1. Later versions may work, but Python
  30. 3.1 is the minimum version which will work.
  31. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  32. For this development prototype release, the only supported
  33. data source backend is SQLite3. The authoritative server
  34. requires SQLite 3.3.9 or newer.
  35. The <span class="command"><strong>b10-xfrin</strong></span>, <span class="command"><strong>b10-xfrout</strong></span>,
  36. and <span class="command"><strong>b10-zonemgr</strong></span> modules require the
  37. libpython3 library and the Python _sqlite3.so module.
  38. </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  39. Some operating systems do not provide these dependencies
  40. in their default installation nor standard packages
  41. collections.
  42. You may need to install them separately.
  43. </p></div></div><div class="section" title="Starting and Stopping the Server"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="starting_stopping"></a>Starting and Stopping the Server</h2></div></div></div><p>
  44. BIND 10 is modular. Part of this modularity is
  45. accomplished using multiple cooperating processes which, together,
  46. provide the server functionality. This is a change from
  47. the previous generation of BIND software, which used a
  48. single process.
  49. </p><p>
  50. At first, running many different processes may seem confusing.
  51. However, these processes are started, stopped, and maintained
  52. by a single command, <span class="command"><strong>bind10</strong></span>.
  53. This command starts a master process which will start other
  54. processes as needed.
  55. The processes started by the <span class="command"><strong>bind10</strong></span>
  56. command have names starting with "b10-", including:
  57. </p><p>
  58. </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
  59. <span class="command"><strong>b10-msgq</strong></span> &#8212;
  60. Message bus daemon.
  61. This process coordinates communication between all of the other
  62. BIND 10 processes.
  63. </li><li class="listitem">
  64. <span class="command"><strong>b10-auth</strong></span> &#8212;
  65. Authoritative DNS server.
  66. This process serves DNS requests.
  67. </li><li class="listitem">
  68. <span class="command"><strong>b10-cfgmgr</strong></span> &#8212;
  69. Configuration manager.
  70. This process maintains all of the configuration for BIND 10.
  71. </li><li class="listitem">
  72. <span class="command"><strong>b10-cmdctl</strong></span> &#8212;
  73. Command and control service.
  74. This process allows external control of the BIND 10 system.
  75. </li><li class="listitem">
  76. <span class="command"><strong>b10-resolver</strong></span> &#8212;
  77. Recursive name server.
  78. This process handles incoming queries.
  79. </li><li class="listitem">
  80. <span class="command"><strong>b10-stats</strong></span> &#8212;
  81. Statistics collection daemon.
  82. This process collects and reports statistics data.
  83. </li><li class="listitem">
  84. <span class="command"><strong>b10-xfrin</strong></span> &#8212;
  85. Incoming zone transfer service.
  86. This process is used to transfer a new copy
  87. of a zone into BIND 10, when acting as a secondary server.
  88. </li><li class="listitem">
  89. <span class="command"><strong>b10-xfrout</strong></span> &#8212;
  90. Outgoing zone transfer service.
  91. This process is used to handle transfer requests to
  92. send a local zone to a remote secondary server,
  93. when acting as a master server.
  94. </li><li class="listitem">
  95. <span class="command"><strong>b10-zonemgr</strong></span> &#8212;
  96. Secondary manager.
  97. This process keeps track of timers and other
  98. necessary information for BIND 10 to act as a slave server.
  99. </li></ul></div><p>
  100. </p><p>
  101. These are ran automatically by <span class="command"><strong>bind10</strong></span>
  102. and do not need to be run manually.
  103. </p></div><div class="section" title="Managing BIND 10"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="managing_once_running"></a>Managing BIND 10</h2></div></div></div><p>
  104. Once BIND 10 is running, a few commands are used to interact
  105. directly with the system:
  106. </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
  107. <span class="command"><strong>bindctl</strong></span> &#8212;
  108. interactive administration interface.
  109. This is a command-line tool which allows an administrator
  110. to control BIND 10.
  111. </li><li class="listitem">
  112. <span class="command"><strong>b10-loadzone</strong></span> &#8212;
  113. zone file loader.
  114. This tool will load standard masterfile-format zone files into
  115. BIND 10.
  116. </li><li class="listitem">
  117. <span class="command"><strong>b10-cmdctl-usermgr</strong></span> &#8212;
  118. user access control.
  119. This tool allows an administrator to authorize additional users
  120. to manage BIND 10.
  121. </li></ul></div><p>
  122. </p></div><p>
  123. The tools and modules are covered in full detail in this guide.
  124. In addition, manual pages are also provided in the default installation.
  125. </p><p>
  126. BIND 10 also provides libraries and programmer interfaces
  127. for C++ and Python for the message bus, configuration backend,
  128. and, of course, DNS. These include detailed developer
  129. documentation and code examples.
  130. </p></div><div class="chapter" title="Chapter 2. Installation"><div class="titlepage"><div><div><h2 class="title"><a name="installation"></a>Chapter 2. Installation</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#id1168230284843">Building Requirements</a></span></dt><dt><span class="section"><a href="#quickstart">Quick start</a></span></dt><dt><span class="section"><a href="#install">Installation from source</a></span></dt><dd><dl><dt><span class="section"><a href="#id1168230285029">Download Tar File</a></span></dt><dt><span class="section"><a href="#id1168230285048">Retrieve from Git</a></span></dt><dt><span class="section"><a href="#id1168230285109">Configure before the build</a></span></dt><dt><span class="section"><a href="#id1168230285206">Build</a></span></dt><dt><span class="section"><a href="#id1168230285222">Install</a></span></dt><dt><span class="section"><a href="#id1168230285245">Install Hierarchy</a></span></dt></dl></dd></dl></div><div class="section" title="Building Requirements"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id1168230284843"></a>Building Requirements</h2></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  131. Some operating systems have split their distribution packages into
  132. a run-time and a development package. You will need to install
  133. the development package versions, which include header files and
  134. libraries, to build BIND 10 from source code.
  135. </p></div><p>
  136. Building from source code requires the Boost
  137. build-time headers. At least Boost version 1.35 is required.
  138. </p><p>
  139. The Python Library and Python _sqlite3 module are required to
  140. enable the Xfrout and Xfrin support.
  141. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  142. The Python related libraries and modules need to be built
  143. for Python 3.1.
  144. </p></div><p>
  145. Building BIND 10 also requires a C++ compiler and
  146. standard development headers, make, and pkg-config.
  147. BIND 10 builds have been tested with GCC g++ 3.4.3, 4.1.2,
  148. 4.1.3, 4.2.1, 4.3.2, and 4.4.1.
  149. </p></div><div class="section" title="Quick start"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="quickstart"></a>Quick start</h2></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  150. This quickly covers the standard steps for installing
  151. and deploying BIND 10 as an authoritative name server using
  152. its defaults. For troubleshooting, full customizations and further
  153. details, see the respective chapters in the BIND 10 guide.
  154. </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  155. The development prototype of the b10-auth server listens on
  156. 0.0.0.0 (all interfaces) port 5300. (This is not the standard
  157. domain service port.)
  158. </p></div><p>
  159. To quickly get started with BIND 10, follow these steps.
  160. </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
  161. Install required build dependencies.
  162. </li><li class="listitem">
  163. Download the BIND 10 source tar file from
  164. <a class="ulink" href="ftp://ftp.isc.org/isc/bind10/" target="_top">ftp://ftp.isc.org/isc/bind10/</a>.
  165. </li><li class="listitem"><p>Extract the tar file:
  166. </p><pre class="screen">$ <strong class="userinput"><code>gzcat bind10-<em class="replaceable"><code>VERSION</code></em>.tar.gz | tar -xvf -</code></strong></pre><p>
  167. </p></li><li class="listitem"><p>Go into the source and run configure:
  168. </p><pre class="screen">$ <strong class="userinput"><code>cd bind10-<em class="replaceable"><code>VERSION</code></em></code></strong>
  169. $ <strong class="userinput"><code>./configure</code></strong></pre><p>
  170. </p></li><li class="listitem"><p>Build it:
  171. </p><pre class="screen">$ <strong class="userinput"><code>make</code></strong></pre><p>
  172. </p></li><li class="listitem"><p>Install it (to default /usr/local):
  173. </p><pre class="screen">$ <strong class="userinput"><code>make install</code></strong></pre><p>
  174. </p></li><li class="listitem"><p>Start the server:
  175. </p><pre class="screen">$ <strong class="userinput"><code>/usr/local/sbin/bind10</code></strong></pre><p>
  176. </p></li><li class="listitem"><p>Test it; for example:
  177. </p><pre class="screen">$ <strong class="userinput"><code>dig @127.0.0.1 -p 5300 -c CH -t TXT authors.bind</code></strong></pre><p>
  178. </p></li><li class="listitem"><p>Load desired zone file(s), for example:
  179. </p><pre class="screen">$ <strong class="userinput"><code>b10-loadzone <em class="replaceable"><code>your.zone.example.org</code></em></code></strong></pre><p>
  180. </p></li><li class="listitem">
  181. Test the new zone.
  182. </li></ol></div></div><div class="section" title="Installation from source"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="install"></a>Installation from source</h2></div></div></div><p>
  183. BIND 10 is open source software written in C++ and Python.
  184. It is freely available in source code form from ISC via
  185. the Git code revision control system or as a downloadable
  186. tar file. It may also be available in pre-compiled ready-to-use
  187. packages from operating system vendors.
  188. </p><div class="section" title="Download Tar File"><div class="titlepage"><div><div><h3 class="title"><a name="id1168230285029"></a>Download Tar File</h3></div></div></div><p>
  189. Downloading a release tar file is the recommended method to
  190. obtain the source code.
  191. </p><p>
  192. The BIND 10 releases are available as tar file downloads from
  193. <a class="ulink" href="ftp://ftp.isc.org/isc/bind10/" target="_top">ftp://ftp.isc.org/isc/bind10/</a>.
  194. Periodic development snapshots may also be available.
  195. </p></div><div class="section" title="Retrieve from Git"><div class="titlepage"><div><div><h3 class="title"><a name="id1168230285048"></a>Retrieve from Git</h3></div></div></div><p>
  196. Downloading this "bleeding edge" code is recommended only for
  197. developers or advanced users. Using development code in a production
  198. environment is not recommended.
  199. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  200. When using source code retrieved via Git additional
  201. software will be required: automake (v1.11 or newer),
  202. libtoolize, and autoconf (2.59 or newer).
  203. These may need to be installed.
  204. </p></div><p>
  205. The latest development code, including temporary experiments
  206. and un-reviewed code, is available via the BIND 10 code revision
  207. control system. This is powered by Git and all the BIND 10
  208. development is public.
  209. The leading development is done in the <span class="quote">&#8220;<span class="quote">master</span>&#8221;</span>.
  210. </p><p>
  211. The code can be checked out from
  212. <code class="filename">git://bind10.isc.org/bind10</code>;
  213. for example:
  214. </p><pre class="screen">$ <strong class="userinput"><code>git clone git://bind10.isc.org/bind10</code></strong></pre><p>
  215. </p><p>
  216. When checking out the code from
  217. the code version control system, it doesn't include the
  218. generated configure script, Makefile.in files, nor the
  219. related configure files.
  220. They can be created by running <span class="command"><strong>autoreconf</strong></span>
  221. with the <code class="option">--install</code> switch.
  222. This will run <span class="command"><strong>autoconf</strong></span>,
  223. <span class="command"><strong>aclocal</strong></span>,
  224. <span class="command"><strong>libtoolize</strong></span>,
  225. <span class="command"><strong>autoheader</strong></span>,
  226. <span class="command"><strong>automake</strong></span>,
  227. and related commands.
  228. </p></div><div class="section" title="Configure before the build"><div class="titlepage"><div><div><h3 class="title"><a name="id1168230285109"></a>Configure before the build</h3></div></div></div><p>
  229. BIND 10 uses the GNU Build System to discover build environment
  230. details.
  231. To generate the makefiles using the defaults, simply run:
  232. </p><pre class="screen">$ <strong class="userinput"><code>./configure</code></strong></pre><p>
  233. </p><p>
  234. Run <span class="command"><strong>./configure</strong></span> with the <code class="option">--help</code>
  235. switch to view the different options. The commonly-used options are:
  236. </p><div class="variablelist"><dl><dt><span class="term">--prefix</span></dt><dd>Define the the installation location (the
  237. default is <code class="filename">/usr/local/</code>).
  238. </dd><dt><span class="term">--with-boost-include</span></dt><dd>Define the path to find the Boost headers.
  239. </dd><dt><span class="term">--with-pythonpath</span></dt><dd>Define the path to Python 3.1 if it is not in the
  240. standard execution path.
  241. </dd><dt><span class="term">--with-gtest</span></dt><dd>Enable building the C++ Unit Tests using the
  242. Google Tests framework. Optionally this can define the
  243. path to the gtest header files and library.
  244. </dd></dl></div><p>
  245. </p><p>
  246. For example, the following configures it to
  247. find the Boost headers, find the
  248. Python interpreter, and sets the installation location:
  249. </p><pre class="screen">$ <strong class="userinput"><code>./configure \
  250. --with-boost-include=/usr/pkg/include \
  251. --with-pythonpath=/usr/pkg/bin/python3.1 \
  252. --prefix=/opt/bind10</code></strong></pre><p>
  253. </p><p>
  254. If the configure fails, it may be due to missing or old
  255. dependencies.
  256. </p></div><div class="section" title="Build"><div class="titlepage"><div><div><h3 class="title"><a name="id1168230285206"></a>Build</h3></div></div></div><p>
  257. After the configure step is complete, to build the executables
  258. from the C++ code and prepare the Python scripts, run:
  259. </p><pre class="screen">$ <strong class="userinput"><code>make</code></strong></pre><p>
  260. </p></div><div class="section" title="Install"><div class="titlepage"><div><div><h3 class="title"><a name="id1168230285222"></a>Install</h3></div></div></div><p>
  261. To install the BIND 10 executables, support files,
  262. and documentation, run:
  263. </p><pre class="screen">$ <strong class="userinput"><code>make install</code></strong></pre><p>
  264. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The install step may require superuser privileges.</p></div></div><div class="section" title="Install Hierarchy"><div class="titlepage"><div><div><h3 class="title"><a name="id1168230285245"></a>Install Hierarchy</h3></div></div></div><p>
  265. The following is the layout of the complete BIND 10 installation:
  266. </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
  267. <code class="filename">bin/</code> &#8212;
  268. general tools and diagnostic clients.
  269. </li><li class="listitem">
  270. <code class="filename">etc/bind10-devel/</code> &#8212;
  271. configuration files.
  272. </li><li class="listitem">
  273. <code class="filename">lib/</code> &#8212;
  274. libraries and python modules.
  275. </li><li class="listitem">
  276. <code class="filename">libexec/bind10-devel/</code> &#8212;
  277. executables that a user wouldn't normally run directly and
  278. are not run independently.
  279. These are the BIND 10 modules which are daemons started by
  280. the <span class="command"><strong>bind10</strong></span> tool.
  281. </li><li class="listitem">
  282. <code class="filename">sbin/</code> &#8212;
  283. commands used by the system administrator.
  284. </li><li class="listitem">
  285. <code class="filename">share/bind10-devel/</code> &#8212;
  286. configuration specifications.
  287. </li><li class="listitem">
  288. <code class="filename">share/man/</code> &#8212;
  289. manual pages (online documentation).
  290. </li><li class="listitem">
  291. <code class="filename">var/bind10-devel/</code> &#8212;
  292. data source and configuration databases.
  293. </li></ul></div><p>
  294. </p></div></div></div><div class="chapter" title="Chapter 3. Starting BIND10 with bind10"><div class="titlepage"><div><div><h2 class="title"><a name="bind10"></a>Chapter 3. Starting BIND10 with <span class="command"><strong>bind10</strong></span></h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#start">Starting BIND 10</a></span></dt></dl></div><p>
  295. BIND 10 provides the <span class="command"><strong>bind10</strong></span> command which
  296. starts up the required processes.
  297. <span class="command"><strong>bind10</strong></span>
  298. will also restart processes that exit unexpectedly.
  299. This is the only command needed to start the BIND 10 system.
  300. </p><p>
  301. After starting the <span class="command"><strong>b10-msgq</strong></span> communications channel,
  302. <span class="command"><strong>bind10</strong></span> connects to it,
  303. runs the configuration manager, and reads its own configuration.
  304. Then it starts the other modules.
  305. </p><p>
  306. The <span class="command"><strong>b10-msgq</strong></span> and <span class="command"><strong>b10-cfgmgr</strong></span>
  307. services make up the core. The <span class="command"><strong>b10-msgq</strong></span> daemon
  308. provides the communication channel between every part of the system.
  309. The <span class="command"><strong>b10-cfgmgr</strong></span> daemon is always needed by every
  310. module, if only to send information about themselves somewhere,
  311. but more importantly to ask about their own settings, and
  312. about other modules.
  313. The <span class="command"><strong>bind10</strong></span> master process will also start up
  314. <span class="command"><strong>b10-cmdctl</strong></span> for admins to communicate with the
  315. system, <span class="command"><strong>b10-auth</strong></span> for authoritative DNS service or
  316. <span class="command"><strong>b10-resolver</strong></span> for recursive name service,
  317. <span class="command"><strong>b10-stats</strong></span> for statistics collection,
  318. <span class="command"><strong>b10-xfrin</strong></span> for inbound DNS zone transfers,
  319. <span class="command"><strong>b10-xfrout</strong></span> for outbound DNS zone transfers,
  320. and <span class="command"><strong>b10-zonemgr</strong></span> for secondary service.
  321. </p><div class="section" title="Starting BIND 10"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="start"></a>Starting BIND 10</h2></div></div></div><p>
  322. To start the BIND 10 service, simply run <span class="command"><strong>bind10</strong></span>.
  323. Run it with the <code class="option">--verbose</code> switch to
  324. get additional debugging or diagnostic output.
  325. </p></div></div><div class="chapter" title="Chapter 4. Command channel"><div class="titlepage"><div><div><h2 class="title"><a name="msgq"></a>Chapter 4. Command channel</h2></div></div></div><p>
  326. The BIND 10 components use the <span class="command"><strong>b10-msgq</strong></span>
  327. message routing daemon to communicate with other BIND 10 components.
  328. The <span class="command"><strong>b10-msgq</strong></span> implements what is called the
  329. <span class="quote">&#8220;<span class="quote">Command Channel</span>&#8221;</span>.
  330. Processes intercommunicate by sending messages on the command
  331. channel.
  332. Example messages include shutdown, get configurations, and set
  333. configurations.
  334. This Command Channel is not used for DNS message passing.
  335. It is used only to control and monitor the BIND 10 system.
  336. </p><p>
  337. Administrators do not communicate directly with the
  338. <span class="command"><strong>b10-msgq</strong></span> daemon.
  339. By default, BIND 10 uses port 9912 for the
  340. <span class="command"><strong>b10-msgq</strong></span> service.
  341. It listens on 127.0.0.1.
  342. </p></div><div class="chapter" title="Chapter 5. Configuration manager"><div class="titlepage"><div><div><h2 class="title"><a name="cfgmgr"></a>Chapter 5. Configuration manager</h2></div></div></div><p>
  343. The configuration manager, <span class="command"><strong>b10-cfgmgr</strong></span>,
  344. handles all BIND 10 system configuration. It provides
  345. persistent storage for configuration, and notifies running
  346. modules of configuration changes.
  347. </p><p>
  348. The <span class="command"><strong>b10-auth</strong></span> and <span class="command"><strong>b10-xfrin</strong></span>
  349. daemons and other components receive their configurations
  350. from the configuration manager over the <span class="command"><strong>b10-msgq</strong></span>
  351. command channel.
  352. </p><p>The administrator doesn't connect to it directly, but
  353. uses a user interface to communicate with the configuration
  354. manager via <span class="command"><strong>b10-cmdctl</strong></span>'s REST-ful interface.
  355. <span class="command"><strong>b10-cmdctl</strong></span> is covered in <a class="xref" href="#cmdctl" title="Chapter 6. Remote control daemon">Chapter 6, <i>Remote control daemon</i></a>.
  356. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  357. The development prototype release only provides the
  358. <span class="command"><strong>bindctl</strong></span> as a user interface to
  359. <span class="command"><strong>b10-cmdctl</strong></span>.
  360. Upcoming releases will provide another interactive command-line
  361. interface and a web-based interface.
  362. </p></div><p>
  363. The <span class="command"><strong>b10-cfgmgr</strong></span> daemon can send all
  364. specifications and all current settings to the
  365. <span class="command"><strong>bindctl</strong></span> client (via
  366. <span class="command"><strong>b10-cmdctl</strong></span>).
  367. </p><p>
  368. <span class="command"><strong>b10-cfgmgr</strong></span> relays configurations received
  369. from <span class="command"><strong>b10-cmdctl</strong></span> to the appropriate modules.
  370. </p><p>
  371. The stored configuration file is at
  372. <code class="filename">/usr/local/var/bind10-devel/b10-config.db</code>.
  373. (The full path is what was defined at build configure time for
  374. <code class="option">--localstatedir</code>.
  375. The default is <code class="filename">/usr/local/var/</code>.)
  376. The format is loosely based on JSON and is directly parseable
  377. python, but this may change in a future version.
  378. This configuration data file is not manually edited by the
  379. administrator.
  380. </p><p>
  381. The configuration manager does not have any command line arguments.
  382. Normally it is not started manually, but is automatically
  383. started using the <span class="command"><strong>bind10</strong></span> master process
  384. (as covered in <a class="xref" href="#bind10" title="Chapter 3. Starting BIND10 with bind10">Chapter 3, <i>Starting BIND10 with <span class="command"><strong>bind10</strong></span></i></a>).
  385. </p></div><div class="chapter" title="Chapter 6. Remote control daemon"><div class="titlepage"><div><div><h2 class="title"><a name="cmdctl"></a>Chapter 6. Remote control daemon</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#cmdctl.spec">Configuration specification for b10-cmdctl</a></span></dt></dl></div><p>
  386. <span class="command"><strong>b10-cmdctl</strong></span> is the gateway between
  387. administrators and the BIND 10 system.
  388. It is a HTTPS server that uses standard HTTP Digest
  389. Authentication for username and password validation.
  390. It provides a REST-ful interface for accessing and controlling
  391. BIND 10.
  392. </p><p>
  393. When <span class="command"><strong>b10-cmdctl</strong></span> starts, it firsts
  394. asks <span class="command"><strong>b10-cfgmgr</strong></span> about what modules are
  395. running and what their configuration is (over the
  396. <span class="command"><strong>b10-msgq</strong></span> channel). Then it will start listening
  397. on HTTPS for clients &#8212; the user interface &#8212; such
  398. as <span class="command"><strong>bindctl</strong></span>.
  399. </p><p>
  400. <span class="command"><strong>b10-cmdctl</strong></span> directly sends commands
  401. (received from the user interface) to the specified component.
  402. Configuration changes are actually commands to
  403. <span class="command"><strong>b10-cfgmgr</strong></span> so are sent there.
  404. </p><p>The HTTPS server requires a private key,
  405. such as a RSA PRIVATE KEY.
  406. The default location is at
  407. <code class="filename">/usr/local/etc/bind10-devel/cmdctl-keyfile.pem</code>.
  408. (A sample key is at
  409. <code class="filename">/usr/local/share/bind10-devel/cmdctl-keyfile.pem</code>.)
  410. It also uses a certificate located at
  411. <code class="filename">/usr/local/etc/bind10-devel/cmdctl-certfile.pem</code>.
  412. (A sample certificate is at
  413. <code class="filename">/usr/local/share/bind10-devel/cmdctl-certfile.pem</code>.)
  414. This may be a self-signed certificate or purchased from a
  415. certification authority.
  416. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  417. The HTTPS server doesn't support a certificate request from a
  418. client (at this time).
  419. The <span class="command"><strong>b10-cmdctl</strong></span> daemon does not provide a
  420. public service. If any client wants to control BIND 10, then
  421. a certificate needs to be first received from the BIND 10
  422. administrator.
  423. The BIND 10 installation provides a sample PEM bundle that matches
  424. the sample key and certificate.
  425. </p></div><p>
  426. The <span class="command"><strong>b10-cmdctl</strong></span> daemon also requires
  427. the user account file located at
  428. <code class="filename">/usr/local/etc/bind10-devel/cmdctl-accounts.csv</code>.
  429. This comma-delimited file lists the accounts with a user name,
  430. hashed password, and salt.
  431. (A sample file is at
  432. <code class="filename">/usr/local/share/bind10-devel/cmdctl-accounts.csv</code>.
  433. It contains the user named <span class="quote">&#8220;<span class="quote">root</span>&#8221;</span> with the password
  434. <span class="quote">&#8220;<span class="quote">bind10</span>&#8221;</span>.)
  435. </p><p>
  436. The administrator may create a user account with the
  437. <span class="command"><strong>b10-cmdctl-usermgr</strong></span> tool.
  438. </p><p>
  439. By default the HTTPS server listens on the localhost port 8080.
  440. The port can be set by using the <code class="option">--port</code> command line option.
  441. The address to listen on can be set using the <code class="option">--address</code> command
  442. line argument.
  443. Each HTTPS connection is stateless and timesout in 1200 seconds
  444. by default. This can be
  445. redefined by using the <code class="option">--idle-timeout</code> command line argument.
  446. </p><div class="section" title="Configuration specification for b10-cmdctl"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="cmdctl.spec"></a>Configuration specification for b10-cmdctl</h2></div></div></div><p>
  447. The configuration items for <span class="command"><strong>b10-cmdctl</strong></span> are:
  448. key_file
  449. cert_file
  450. accounts_file
  451. </p><p>
  452. The control commands are:
  453. print_settings
  454. shutdown
  455. </p></div></div><div class="chapter" title="Chapter 7. Control and configure user interface"><div class="titlepage"><div><div><h2 class="title"><a name="bindctl"></a>Chapter 7. Control and configure user interface</h2></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  456. For this development prototype release, <span class="command"><strong>bindctl</strong></span>
  457. is the only user interface. It is expected that upcoming
  458. releases will provide another interactive command-line
  459. interface and a web-based interface for controlling and
  460. configuring BIND 10.
  461. </p></div><p>
  462. The <span class="command"><strong>bindctl</strong></span> tool provides an interactive
  463. prompt for configuring, controlling, and querying the BIND 10
  464. components.
  465. It communicates directly with a REST-ful interface over HTTPS
  466. provided by <span class="command"><strong>b10-cmdctl</strong></span>. It doesn't
  467. communicate to any other components directly.
  468. </p><p>
  469. Configuration changes are actually commands to
  470. <span class="command"><strong>b10-cfgmgr</strong></span>. So when <span class="command"><strong>bindctl</strong></span>
  471. sends a configuration, it is sent to <span class="command"><strong>b10-cmdctl</strong></span>
  472. (over a HTTPS connection); then <span class="command"><strong>b10-cmdctl</strong></span>
  473. sends the command (over a <span class="command"><strong>b10-msgq</strong></span> command
  474. channel) to <span class="command"><strong>b10-cfgmgr</strong></span> which then stores
  475. the details and relays (over a <span class="command"><strong>b10-msgq</strong></span> command
  476. channel) the configuration on to the specified module.
  477. </p><p>
  478. </p></div><div class="chapter" title="Chapter 8. Authoritative Server"><div class="titlepage"><div><div><h2 class="title"><a name="authserver"></a>Chapter 8. Authoritative Server</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#id1168230285821">Server Configurations</a></span></dt><dt><span class="section"><a href="#id1168230285886">Data Source Backends</a></span></dt><dt><span class="section"><a href="#id1168230285917">Loading Master Zones Files</a></span></dt></dl></div><p>
  479. The <span class="command"><strong>b10-auth</strong></span> is the authoritative DNS server.
  480. It supports EDNS0 and DNSSEC. It supports IPv6.
  481. Normally it is started by the <span class="command"><strong>bind10</strong></span> master
  482. process.
  483. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  484. This development prototype release listens on all interfaces
  485. and the non-standard port 5300.
  486. </p></div><div class="section" title="Server Configurations"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id1168230285821"></a>Server Configurations</h2></div></div></div><p>
  487. <span class="command"><strong>b10-auth</strong></span> is configured via the
  488. <span class="command"><strong>b10-cfgmgr</strong></span> configuration manager.
  489. The module name is <span class="quote">&#8220;<span class="quote">Auth</span>&#8221;</span>.
  490. The configuration data item is:
  491. </p><div class="variablelist"><dl><dt><span class="term">database_file</span></dt><dd>This is an optional string to define the path to find
  492. the SQLite3 database file.
  493. Note: Later the DNS server will use various data source backends.
  494. This may be a temporary setting until then.
  495. </dd></dl></div><p>
  496. </p><p>
  497. The configuration command is:
  498. </p><div class="variablelist"><dl><dt><span class="term">shutdown</span></dt><dd>Stop the authoritative DNS server.
  499. </dd></dl></div><p>
  500. </p></div><div class="section" title="Data Source Backends"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id1168230285886"></a>Data Source Backends</h2></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  501. For the development prototype release, <span class="command"><strong>b10-auth</strong></span>
  502. only supports the SQLite3 data source backend.
  503. Upcoming versions will be able to use multiple different
  504. data sources, such as MySQL, Berkeley DB, or in-memory DB.
  505. </p></div><p>
  506. By default, the SQLite3 backend uses the data file located at
  507. <code class="filename">/usr/local/var/bind10-devel/zone.sqlite3</code>.
  508. (The full path is what was defined at build configure time for
  509. <code class="option">--localstatedir</code>.
  510. The default is <code class="filename">/usr/local/var/</code>.)
  511. This data file location may be changed by defining the
  512. <span class="quote">&#8220;<span class="quote">database_file</span>&#8221;</span> configuration.
  513. </p></div><div class="section" title="Loading Master Zones Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id1168230285917"></a>Loading Master Zones Files</h2></div></div></div><p>
  514. RFC 1035 style DNS master zone files may imported
  515. into a BIND 10 data source by using the
  516. <span class="command"><strong>b10-loadzone</strong></span> utility.
  517. </p><p>
  518. <span class="command"><strong>b10-loadzone</strong></span> supports the following
  519. special directives (control entries):
  520. </p><div class="variablelist"><dl><dt><span class="term">$INCLUDE</span></dt><dd>Loads an additional zone file. This may be recursive.
  521. </dd><dt><span class="term">$ORIGIN</span></dt><dd>Defines the relative domain name.
  522. </dd><dt><span class="term">$TTL</span></dt><dd>Defines the time-to-live value used for following
  523. records that don't include a TTL.
  524. </dd></dl></div><p>
  525. </p><p>
  526. The <code class="option">-o</code> argument may be used to define the
  527. default origin for loaded zone file records.
  528. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  529. In the development prototype release, only the SQLite3 back
  530. end is used.
  531. By default, it stores the zone data in
  532. <code class="filename">/usr/local/var/bind10-devel/zone.sqlite3</code>
  533. unless the <code class="option">-d</code> switch is used to set the
  534. database filename.
  535. Multiple zones are stored in a single SQLite3 zone database.
  536. </p></div><p>
  537. If you reload a zone already existing in the database,
  538. all records from that prior zone disappear and a whole new set
  539. appears.
  540. </p></div></div><div class="chapter" title="Chapter 9. Incoming Zone Transfers"><div class="titlepage"><div><div><h2 class="title"><a name="xfrin"></a>Chapter 9. Incoming Zone Transfers</h2></div></div></div><p>
  541. The <span class="command"><strong>b10-xfrin</strong></span> process is started by
  542. <span class="command"><strong>bind10</strong></span>.
  543. It can be manually triggered to request an AXFR zone
  544. transfer. When received, it is stored in the BIND 10
  545. data store, and its records can be served by
  546. <span class="command"><strong>b10-auth</strong></span>.
  547. In combination with <span class="command"><strong>b10-zonemgr</strong></span> (for
  548. automated SOA checks), this allows the BIND 10 server to
  549. provide <span class="quote">&#8220;<span class="quote">secondary</span>&#8221;</span> service.
  550. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  551. The current development release of BIND 10 only supports
  552. AXFR. (IXFR is not supported.)
  553. </p></div><p>
  554. To manually trigger a zone transfer to retrieve a remote zone,
  555. you may use the <span class="command"><strong>bindctl</strong></span> utility.
  556. For example, at the <span class="command"><strong>bindctl</strong></span> prompt run:
  557. </p><pre class="screen">&gt; <strong class="userinput"><code>Xfrin retransfer zone_name="<code class="option">foo.example.org</code>" master=<code class="option">192.0.2.99</code></code></strong></pre><p>
  558. </p></div><div class="chapter" title="Chapter 10. Outbound Zone Transfers"><div class="titlepage"><div><div><h2 class="title"><a name="xfrout"></a>Chapter 10. Outbound Zone Transfers</h2></div></div></div><p>
  559. The <span class="command"><strong>b10-xfrout</strong></span> process is started by
  560. <span class="command"><strong>bind10</strong></span>.
  561. When the <span class="command"><strong>b10-auth</strong></span> authoritative DNS server
  562. receives an AXFR request, <span class="command"><strong>b10-xfrout</strong></span>
  563. sends the zone.
  564. This is used to provide master DNS service to share zones
  565. to secondary name servers.
  566. The <span class="command"><strong>b10-xfrout</strong></span> is also used to send
  567. NOTIFY messages to slaves.
  568. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  569. The current development release of BIND 10 only supports
  570. AXFR. (IXFR is not supported.)
  571. Access control is not yet provided.
  572. </p></div></div><div class="chapter" title="Chapter 11. Secondary Manager"><div class="titlepage"><div><div><h2 class="title"><a name="zonemgr"></a>Chapter 11. Secondary Manager</h2></div></div></div><p>
  573. The <span class="command"><strong>b10-zonemgr</strong></span> process is started by
  574. <span class="command"><strong>bind10</strong></span>.
  575. It keeps track of SOA refresh, retry, and expire timers
  576. and other details for BIND 10 to perform as a slave.
  577. When the <span class="command"><strong>b10-auth</strong></span> authoritative DNS server
  578. receives a NOTIFY message, <span class="command"><strong>b10-zonemgr</strong></span>
  579. may tell <span class="command"><strong>b10-xfrin</strong></span> to do a refresh
  580. to start an inbound zone transfer.
  581. The secondary manager resets its counters when a new zone is
  582. transferred in.
  583. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  584. Access control (such as allowing notifies) is not yet provided.
  585. The primary/secondary service is not yet complete.
  586. </p></div></div><div class="chapter" title="Chapter 12. Recursive Name Server"><div class="titlepage"><div><div><h2 class="title"><a name="resolverserver"></a>Chapter 12. Recursive Name Server</h2></div></div></div><p>
  587. The <span class="command"><strong>b10-resolver</strong></span> process is started by
  588. <span class="command"><strong>bind10</strong></span>.
  589. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  590. The current version only provides a forwarding DNS server.
  591. It does not cache and does not iterate to find answers.
  592. It simply forwards the query on to another full resolver.
  593. </p></div><p>
  594. The main <span class="command"><strong>bind10</strong></span> process can be configured
  595. to select to run either the authoritative or resolver.
  596. By default, it starts the authoritative service.
  597. You may change this using <span class="command"><strong>bindctl</strong></span>, for example:
  598. </p><pre class="screen">
  599. &gt; <strong class="userinput"><code>config set Boss/start_auth false</code></strong>
  600. &gt; <strong class="userinput"><code>config set Boss/start_resolver true</code></strong>
  601. &gt; <strong class="userinput"><code>config commit</code></strong>
  602. </pre><p>
  603. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
  604. In the current version, the master <span class="command"><strong>bind10</strong></span>
  605. process must be stopped and restarted to start up the resolver.
  606. </p></div><p>
  607. Then the upstream address and port must be configured to
  608. forward queries to, such as:
  609. </p><pre class="screen">
  610. &gt; <strong class="userinput"><code>config set Resolver/forward_addresses [{ "address": "<em class="replaceable"><code>192.168.1.1</code></em>", "port": 53 }]</code></strong>
  611. &gt; <strong class="userinput"><code>config commit</code></strong>
  612. </pre><p>
  613. (Replace <em class="replaceable"><code>192.168.1.1</code></em> to point to your
  614. full resolver.)
  615. </p><p>
  616. The resolver also needs to be configured to listen on an address
  617. and port:
  618. </p><pre class="screen">
  619. &gt; <strong class="userinput"><code>config set Resolver/listen_on [{ "address": "127.0.0.1", "port": 53 }]</code></strong>
  620. &gt; <strong class="userinput"><code>config commit</code></strong>
  621. </pre><p>
  622. </p></div><div class="chapter" title="Chapter 13. Statistics"><div class="titlepage"><div><div><h2 class="title"><a name="statistics"></a>Chapter 13. Statistics</h2></div></div></div><p>
  623. The <span class="command"><strong>b10-stats</strong></span> process is started by
  624. <span class="command"><strong>bind10</strong></span>.
  625. It periodically collects statistics data from various modules
  626. and aggregates it.
  627. </p><p>
  628. This stats daemon provides commands to identify if it is running,
  629. show specified or all statistics data, set values, remove data,
  630. and reset data.
  631. For example, using <span class="command"><strong>bindctl</strong></span>:
  632. </p><pre class="screen">
  633. &gt; <strong class="userinput"><code>Stats show</code></strong>
  634. {
  635. "auth.queries.tcp": 1749,
  636. "auth.queries.udp": 867868,
  637. "bind10.boot_time": "2011-01-20T16:59:03Z",
  638. "report_time": "2011-01-20T17:04:06Z",
  639. "stats.boot_time": "2011-01-20T16:59:05Z",
  640. "stats.last_update_time": "2011-01-20T17:04:05Z",
  641. "stats.lname": "4d3869d9_a@jreed.example.net",
  642. "stats.start_time": "2011-01-20T16:59:05Z",
  643. "stats.timestamp": 1295543046.823504
  644. }
  645. </pre><p>
  646. </p></div></div></body></html>