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