man.rndc-confgen.html revision 617639b7cc40ba9eb6fde2d98099726d50da812e
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync - Copyright (C) 2000-2018 Internet Systems Consortium, Inc. ("ISC")
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync - This Source Code Form is subject to the terms of the Mozilla Public
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync - License, v. 2.0. If a copy of the MPL was not distributed with this
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync - file, You can obtain one at http://mozilla.org/MPL/2.0/.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<link rel="prev" href="man.rndc.conf.html" title="rndc.conf">
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<link rel="next" href="man.ddns-confgen.html" title="ddns-confgen">
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<tr><th colspan="3" align="center"><span class="application">rndc-confgen</span></th></tr>
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<a accesskey="p" href="man.rndc.conf.html">Prev</a>�</td>
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<td width="20%" align="right">�<a accesskey="n" href="man.ddns-confgen.html">Next</a>
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<a name="man.rndc-confgen"></a><div class="titlepage"></div>
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync — rndc key generation tool
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync [<code class="option">-A <em class="replaceable"><code>algorithm</code></em></code>]
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync [<code class="option">-b <em class="replaceable"><code>keysize</code></em></code>]
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync [<code class="option">-c <em class="replaceable"><code>keyfile</code></em></code>]
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>]
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync [<code class="option">-p <em class="replaceable"><code>port</code></em></code>]
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>]
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync [<code class="option">-s <em class="replaceable"><code>address</code></em></code>]
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync [<code class="option">-t <em class="replaceable"><code>chrootdir</code></em></code>]
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync [<code class="option">-u <em class="replaceable"><code>user</code></em></code>]
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync <p><span class="command"><strong>rndc-confgen</strong></span>
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync generates configuration files
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync for <span class="command"><strong>rndc</strong></span>. It can be used as a
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync convenient alternative to writing the
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync and the corresponding <span class="command"><strong>controls</strong></span>
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync and <span class="command"><strong>key</strong></span>
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync statements in <code class="filename">named.conf</code> by hand.
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync Alternatively, it can be run with the <span class="command"><strong>-a</strong></span>
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync option to set up a <code class="filename">rndc.key</code> file and
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync avoid the need for a <code class="filename">rndc.conf</code> file
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync and a <span class="command"><strong>controls</strong></span> statement altogether.
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync <div class="variablelist"><dl class="variablelist">
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync Do automatic <span class="command"><strong>rndc</strong></span> configuration.
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync This creates a file <code class="filename">rndc.key</code>
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync was specified as when <acronym class="acronym">BIND</acronym> was
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync that is read by both <span class="command"><strong>rndc</strong></span>
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync and <span class="command"><strong>named</strong></span> on startup. The
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync <code class="filename">rndc.key</code> file defines a default
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync command channel and authentication key allowing
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync <span class="command"><strong>rndc</strong></span> to communicate with
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync <span class="command"><strong>named</strong></span> on the local host
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync with no further configuration.
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync Running <span class="command"><strong>rndc-confgen -a</strong></span> allows
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync BIND 9 and <span class="command"><strong>rndc</strong></span> to be used as
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync replacements for BIND 8 and <span class="command"><strong>ndc</strong></span>,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync with no changes to the existing BIND 8
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync If a more elaborate configuration than that
b1f3a2dc94cfa582803b349a7ce9c7b2f94e58f1vboxsync generated by <span class="command"><strong>rndc-confgen -a</strong></span>
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync is required, for example if rndc is to be used remotely,
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync you should run <span class="command"><strong>rndc-confgen</strong></span> without
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync <span class="command"><strong>-a</strong></span> option and set up a
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync as directed.
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync<dt><span class="term">-A <em class="replaceable"><code>algorithm</code></em></span></dt>
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync Specifies the algorithm to use for the TSIG key. Available
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync hmac-sha384 and hmac-sha512. The default is hmac-md5 or
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync if MD5 was disabled hmac-sha256.
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync<dt><span class="term">-b <em class="replaceable"><code>keysize</code></em></span></dt>
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync Specifies the size of the authentication key in bits.
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync Must be between 1 and 512 bits; the default is the
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync<dt><span class="term">-c <em class="replaceable"><code>keyfile</code></em></span></dt>
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync Used with the <span class="command"><strong>-a</strong></span> option to specify
4ee2f4fc8e99dc69ba5d63fd7dd3f52a38d0501evboxsync an alternate location for <code class="filename">rndc.key</code>.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync Prints a short summary of the options and arguments to
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync <span class="command"><strong>rndc-confgen</strong></span>.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync<dt><span class="term">-k <em class="replaceable"><code>keyname</code></em></span></dt>
corresponding <span class="command"><strong>controls</strong></span> and <span class="command"><strong>key</strong></span>
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.3b1 (Extended Support Version)</p>