man.rndc-confgen.html revision c60ee6edf129596fa04db86c6865d75b5a412598
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User - Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews - Copyright (C) 2000-2003 Internet Software Consortium.
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Permission to use, copy, modify, and/or distribute this software for any
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - purpose with or without fee is hereby granted, provided that the above
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - copyright notice and this permission notice appear in all copies.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - PERFORMANCE OF THIS SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<!-- $Id$ -->
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="prev" href="man.rndc.conf.html" title="rndc.conf">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="next" href="man.ddns-confgen.html" title="ddns-confgen">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr><th colspan="3" align="center"><span class="application">rndc-confgen</span></th></tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a accesskey="p" href="man.rndc.conf.html">Prev</a>�</td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td width="20%" align="right">�<a accesskey="n" href="man.ddns-confgen.html">Next</a>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<a name="man.rndc-confgen"></a><div class="titlepage"></div>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<p><span class="application">rndc-confgen</span> — rndc key generation tool</p>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<div class="cmdsynopsis"><p><code class="command">rndc-confgen</code> [<code class="option">-a</code>] [<code class="option">-A <em class="replaceable"><code>algorithm</code></em></code>] [<code class="option">-b <em class="replaceable"><code>keysize</code></em></code>] [<code class="option">-c <em class="replaceable"><code>keyfile</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>] [<code class="option">-s <em class="replaceable"><code>address</code></em></code>] [<code class="option">-t <em class="replaceable"><code>chrootdir</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>]</p></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">rndc-confgen</strong></span>
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User generates configuration files
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User for <span><strong class="command">rndc</strong></span>. It can be used as a
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User convenient alternative to writing the
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User and the corresponding <span><strong class="command">controls</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and <span><strong class="command">key</strong></span>
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User statements in <code class="filename">named.conf</code> by hand.
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User Alternatively, it can be run with the <span><strong class="command">-a</strong></span>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt option to set up a <code class="filename">rndc.key</code> file and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein avoid the need for a <code class="filename">rndc.conf</code> file
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User and a <span><strong class="command">controls</strong></span> statement altogether.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Do automatic <span><strong class="command">rndc</strong></span> configuration.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User This creates a file <code class="filename">rndc.key</code>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User in <code class="filename">/etc</code> (or whatever
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User was specified as when <acronym class="acronym">BIND</acronym> was
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User that is read by both <span><strong class="command">rndc</strong></span>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User and <span><strong class="command">named</strong></span> on startup. The
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <code class="filename">rndc.key</code> file defines a default
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User command channel and authentication key allowing
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater <span><strong class="command">rndc</strong></span> to communicate with
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <span><strong class="command">named</strong></span> on the local host
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater with no further configuration.
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox User Running <span><strong class="command">rndc-confgen -a</strong></span> allows
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt BIND 9 and <span><strong class="command">rndc</strong></span> to be used as
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User replacements for BIND 8 and <span><strong class="command">ndc</strong></span>,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User with no changes to the existing BIND 8
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <code class="filename">named.conf</code> file.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User If a more elaborate configuration than that
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User generated by <span><strong class="command">rndc-confgen -a</strong></span>
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater is required, for example if rndc is to be used remotely,
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt you should run <span><strong class="command">rndc-confgen</strong></span> without
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <span><strong class="command">-a</strong></span> option and set up a
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt as directed.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dt><span class="term">-A <em class="replaceable"><code>algorithm</code></em></span></dt>
260e8e04b0dc24cb884c789b5d9eb046457f264eTinderbox User Specifies the algorithm to use for the TSIG key. Available
260e8e04b0dc24cb884c789b5d9eb046457f264eTinderbox User choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
260e8e04b0dc24cb884c789b5d9eb046457f264eTinderbox User hmac-sha384 and hmac-sha512. The default is hmac-md5.
260e8e04b0dc24cb884c789b5d9eb046457f264eTinderbox User<dt><span class="term">-b <em class="replaceable"><code>keysize</code></em></span></dt>
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User Specifies the size of the authentication key in bits.
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User Must be between 1 and 512 bits; the default is the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term">-c <em class="replaceable"><code>keyfile</code></em></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Used with the <span><strong class="command">-a</strong></span> option to specify
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User an alternate location for <code class="filename">rndc.key</code>.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews Prints a short summary of the options and arguments to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">rndc-confgen</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term">-k <em class="replaceable"><code>keyname</code></em></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specifies the key name of the rndc authentication key.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User This must be a valid domain name.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews The default is <code class="constant">rndc-key</code>.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<dt><span class="term">-p <em class="replaceable"><code>port</code></em></span></dt>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt Specifies the command channel port where <span><strong class="command">named</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein listens for connections from <span><strong class="command">rndc</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is 953.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-r <em class="replaceable"><code>randomfile</code></em></span></dt>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt Specifies a source of random data for generating the
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt authorization. If the operating
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt system does not provide a <code class="filename">/dev/random</code>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt or equivalent device, the default source of randomness
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews is keyboard input. <code class="filename">randomdev</code>
dec590a3deb8e87380a8bd3a77d535dba3729bf6Tinderbox User the name of a character device or file containing random
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User data to be used instead of the default. The special value
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <code class="filename">keyboard</code> indicates that keyboard
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein input should be used.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dt><span class="term">-s <em class="replaceable"><code>address</code></em></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specifies the IP address where <span><strong class="command">named</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein listens for command channel connections from
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">rndc</strong></span>. The default is the loopback
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address 127.0.0.1.
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews<dt><span class="term">-t <em class="replaceable"><code>chrootdir</code></em></span></dt>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt Used with the <span><strong class="command">-a</strong></span> option to specify
852ccdd42a71550c974111b49415204ffeca6573Automatic Updater a directory where <span><strong class="command">named</strong></span> will run
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User chrooted. An additional copy of the <code class="filename">rndc.key</code>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt will be written relative to this directory so that
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater it will be found by the chrooted <span><strong class="command">named</strong></span>.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<dt><span class="term">-u <em class="replaceable"><code>user</code></em></span></dt>
852ccdd42a71550c974111b49415204ffeca6573Automatic Updater Used with the <span><strong class="command">-a</strong></span> option to set the
66f25f2ceeb589e67efe7af2413baaa3426b0042Automatic Updater of the <code class="filename">rndc.key</code> file generated.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <span><strong class="command">-t</strong></span> is also specified only the file
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt the chroot area has its owner changed.
38417cbfb1a328c20b5b723b8584a02c57f88897Automatic Updater To allow <span><strong class="command">rndc</strong></span> to be used with
38417cbfb1a328c20b5b723b8584a02c57f88897Automatic Updater no manual configuration, run
38417cbfb1a328c20b5b723b8584a02c57f88897Automatic Updater<p><strong class="userinput"><code>rndc-confgen -a</code></strong>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein To print a sample <code class="filename">rndc.conf</code> file and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein corresponding <span><strong class="command">controls</strong></span> and <span><strong class="command">key</strong></span>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User statements to be manually inserted into <code class="filename">named.conf</code>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><strong class="userinput"><code>rndc-confgen</code></strong>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span class="citerefentry"><span class="refentrytitle">rndc</span>(8)</span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span class="citerefentry"><span class="refentrytitle">rndc.conf</span>(5)</span>,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span class="corpauthor">Internet Systems Consortium</span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a accesskey="p" href="man.rndc.conf.html">Prev</a>�</td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td width="40%" align="right">�<a accesskey="n" href="man.ddns-confgen.html">Next</a>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<td width="40%" align="right" valign="top">�<span class="application">ddns-confgen</span>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<p style="text-align: center;">BIND 9.11.0pre-alpha</p>