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