man.rndc-confgen.html revision 7e3f5fbcf871f22707e7da5e4c69573a4fdc64b5
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - Copyright (C) 2000-2003 Internet Software Consortium.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - Permission to use, copy, modify, and/or distribute this software for any
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - purpose with or without fee is hereby granted, provided that the above
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - copyright notice and this permission notice appear in all copies.
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews - 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
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User - 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
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User - PERFORMANCE OF THIS SOFTWARE.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="prev" href="man.rndc.conf.html" title="rndc.conf">
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<link rel="next" href="man.ddns-confgen.html" title="ddns-confgen">
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<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>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<th width="60%" align="center">Manual pages</th>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td width="20%" align="right">�<a accesskey="n" href="man.ddns-confgen.html">Next</a>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="man.rndc-confgen"></a><div class="titlepage"></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span class="application">rndc-confgen</span> — rndc key generation tool</p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User generates configuration files
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for <span><strong class="command">rndc</strong></span>. It can be used as a
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User convenient alternative to writing the
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User and the corresponding <span><strong class="command">controls</strong></span>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User and <span><strong class="command">key</strong></span>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User statements in <code class="filename">named.conf</code> by hand.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User Alternatively, it can be run with the <span><strong class="command">-a</strong></span>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User 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
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and a <span><strong class="command">controls</strong></span> statement altogether.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Do automatic <span><strong class="command">rndc</strong></span> configuration.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This creates a file <code class="filename">rndc.key</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in <code class="filename">/etc</code> (or whatever
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein was specified as when <acronym class="acronym">BIND</acronym> was
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User that is read by both <span><strong class="command">rndc</strong></span>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User and <span><strong class="command">named</strong></span> on startup. The
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <code class="filename">rndc.key</code> file defines a default
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User command channel and authentication key allowing
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <span><strong class="command">rndc</strong></span> to communicate with
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <span><strong class="command">named</strong></span> on the local host
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein with no further configuration.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Running <span><strong class="command">rndc-confgen -a</strong></span> allows
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein BIND 9 and <span><strong class="command">rndc</strong></span> to be used as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein replacements for BIND 8 and <span><strong class="command">ndc</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein with no changes to the existing BIND 8
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User If a more elaborate configuration than that
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User generated by <span><strong class="command">rndc-confgen -a</strong></span>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User is required, for example if rndc is to be used remotely,
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User you should run <span><strong class="command">rndc-confgen</strong></span> without
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <span><strong class="command">-a</strong></span> option and set up a
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<dt><span class="term">-A <em class="replaceable"><code>algorithm</code></em></span></dt>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User Specifies the algorithm to use for the TSIG key. Available
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein hmac-sha384 and hmac-sha512. The default is hmac-md5.