rndc-confgen.html revision 5347c0fcb04eaea19d9f39795646239f487c6207
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen - Copyright (C) 2001, 2003-2005, 2007, 2009, 2013-2016 Internet Systems Consortium, Inc. ("ISC")
e7b2b71d91da7f07439247fe0df02921ab13f61eTimo Sirainen - This Source Code Form is subject to the terms of the Mozilla Public
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen - License, v. 2.0. If a copy of the MPL was not distributed with this
e8e00a579e12dcb57b0c4077fed2df3f4106ae5aTimo Sirainen - file, You can obtain one at http://mozilla.org/MPL/2.0/.
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
47229f40be81e07162694e2993ded30818a6708aTimo Sirainen<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
47229f40be81e07162694e2993ded30818a6708aTimo Sirainen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
47229f40be81e07162694e2993ded30818a6708aTimo Sirainen<a name="man.rndc-confgen"></a><div class="titlepage"></div>
4827dd103cc836a57aae3ca1aa9409ce45f648c3Timo Sirainen<p><span class="application">rndc-confgen</span> — rndc key generation tool</p>
47229f40be81e07162694e2993ded30818a6708aTimo Sirainen<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>
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen<p><span class="command"><strong>rndc-confgen</strong></span>
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen generates configuration files
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen for <span class="command"><strong>rndc</strong></span>. It can be used as a
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen convenient alternative to writing the
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen and the corresponding <span class="command"><strong>controls</strong></span>
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen and <span class="command"><strong>key</strong></span>
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen statements in <code class="filename">named.conf</code> by hand.
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen Alternatively, it can be run with the <span class="command"><strong>-a</strong></span>
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen option to set up a <code class="filename">rndc.key</code> file and
850f5063cc1228fa19e91323b51e1f997577f3f8Timo Sirainen avoid the need for a <code class="filename">rndc.conf</code> file
46307f44857cc2a72f4b79538cb5fa0c6e8eb32bTimo Sirainen and a <span class="command"><strong>controls</strong></span> statement altogether.