rndc-confgen.html revision 33d0a7767d53cb366039fd0ac4f63cf8a9c351b0
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - Copyright (C) 2004, 2005, 2007, 2009, 2013-2016 Internet Systems Consortium, Inc. ("ISC")
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - Copyright (C) 2001, 2003 Internet Software Consortium.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - Permission to use, copy, modify, and/or distribute this software for any
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - purpose with or without fee is hereby granted, provided that the above
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin - copyright notice and this permission notice appear in all copies.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - PERFORMANCE OF THIS SOFTWARE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<a name="man.rndc-confgen"></a><div class="titlepage"></div>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<p><span class="application">rndc-confgen</span> — rndc key generation tool</p>
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz<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>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<p><span class="command"><strong>rndc-confgen</strong></span>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin generates configuration files
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin for <span class="command"><strong>rndc</strong></span>. It can be used as a
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin convenient alternative to writing the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin and the corresponding <span class="command"><strong>controls</strong></span>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin statements in <code class="filename">named.conf</code> by hand.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin Alternatively, it can be run with the <span class="command"><strong>-a</strong></span>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin option to set up a <code class="filename">rndc.key</code> file and
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin avoid the need for a <code class="filename">rndc.conf</code> file
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin and a <span class="command"><strong>controls</strong></span> statement altogether.