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