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