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