man.rndc-confgen.html revision 3c7b4ac4517ac9d78c9bf3e0e790cedce10ddc18
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt - Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson - Copyright (C) 2000-2003 Internet Software Consortium.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson - Permission to use, copy, modify, and/or distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews - purpose with or without fee is hereby granted, provided that the above
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews - copyright notice and this permission notice appear in all copies.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt - PERFORMANCE OF THIS SOFTWARE.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<!-- $Id$ -->
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein<link rel="prev" href="man.rndc.conf.html" title="rndc.conf">
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson<link rel="next" href="man.ddns-confgen.html" title="ddns-confgen">
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
194e2dfffa6a167b8eef0ad11864026b423a1c30Mark Andrews<table width="100%" summary="Navigation header">
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein<tr><th colspan="3" align="center"><span class="application">rndc-confgen</span></th></tr>
938440694b33cd752e9e4b71a526368b4811c177Tinderbox User<a accesskey="p" href="man.rndc.conf.html">Prev</a>�</td>
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User<th width="60%" align="center">Manual pages</th>
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews<td width="20%" align="right">�<a accesskey="n" href="man.ddns-confgen.html">Next</a>
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein<a name="man.rndc-confgen"></a><div class="titlepage"></div>
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein<p><span class="application">rndc-confgen</span> — rndc key generation tool</p>
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson<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>
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein<p><span><strong class="command">rndc-confgen</strong></span>
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein generates configuration files
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein for <span><strong class="command">rndc</strong></span>. It can be used as a
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson convenient alternative to writing the
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson and the corresponding <span><strong class="command">controls</strong></span>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt and <span><strong class="command">key</strong></span>
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark Andrews statements in <code class="filename">named.conf</code> by hand.
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson Alternatively, it can be run with the <span><strong class="command">-a</strong></span>
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein option to set up a <code class="filename">rndc.key</code> file and
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein avoid the need for a <code class="filename">rndc.conf</code> file
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein and a <span><strong class="command">controls</strong></span> statement altogether.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein Do automatic <span><strong class="command">rndc</strong></span> configuration.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein This creates a file <code class="filename">rndc.key</code>
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein in <code class="filename">/etc</code> (or whatever
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein was specified as when <acronym class="acronym">BIND</acronym> was
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt that is read by both <span><strong class="command">rndc</strong></span>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt and <span><strong class="command">named</strong></span> on startup. The
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark Andrews <code class="filename">rndc.key</code> file defines a default
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson command channel and authentication key allowing
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein <span><strong class="command">rndc</strong></span> to communicate with
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein <span><strong class="command">named</strong></span> on the local host
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein with no further configuration.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein Running <span><strong class="command">rndc-confgen -a</strong></span> allows
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein BIND 9 and <span><strong class="command">rndc</strong></span> to be used as
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein replacements for BIND 8 and <span><strong class="command">ndc</strong></span>,
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein with no changes to the existing BIND 8
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson <code class="filename">named.conf</code> file.
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark Andrews If a more elaborate configuration than that
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein generated by <span><strong class="command">rndc-confgen -a</strong></span>
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein is required, for example if rndc is to be used remotely,
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein you should run <span><strong class="command">rndc-confgen</strong></span> without
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein <span><strong class="command">-a</strong></span> option and set up a
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein as directed.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<dt><span class="term">-A <em class="replaceable"><code>algorithm</code></em></span></dt>