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