rndc-confgen.docbook revision 754cb8a2b33fa6cfaa15d6470f66e5fb0eab4764
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User [<!ENTITY mdash "—">]>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - Permission to use, copy, modify, and/or distribute this software for any
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - purpose with or without fee is hereby granted, provided that the above
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews - copyright notice and this permission notice appear in all copies.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User - PERFORMANCE OF THIS SOFTWARE.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User<!-- $Id: rndc-confgen.docbook,v 1.3 2009/06/11 23:47:55 tbox Exp $ -->
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <refentryinfo>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User </refentryinfo>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <refentrytitle><application>rndc-confgen</application></refentrytitle>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <refname><application>rndc-confgen</application></refname>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <refpurpose>rndc key generation tool</refpurpose>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User </refnamediv>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User <refsynopsisdiv>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <cmdsynopsis>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <arg><option>-b <replaceable class="parameter">keysize</replaceable></option></arg>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <arg><option>-c <replaceable class="parameter">keyfile</replaceable></option></arg>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <arg><option>-k <replaceable class="parameter">keyname</replaceable></option></arg>
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User <arg><option>-p <replaceable class="parameter">port</replaceable></option></arg>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <arg><option>-r <replaceable class="parameter">randomfile</replaceable></option></arg>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <arg><option>-s <replaceable class="parameter">address</replaceable></option></arg>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <arg><option>-t <replaceable class="parameter">chrootdir</replaceable></option></arg>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <arg><option>-u <replaceable class="parameter">user</replaceable></option></arg>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User </cmdsynopsis>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User </refsynopsisdiv>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User generates configuration files
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User for <command>rndc</command>. It can be used as a
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User convenient alternative to writing the
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User and the corresponding <command>controls</command>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User statements in <filename>named.conf</filename> by hand.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User Alternatively, it can be run with the <command>-a</command>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User option to set up a <filename>rndc.key</filename> file and
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User avoid the need for a <filename>rndc.conf</filename> file
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User and a <command>controls</command> statement altogether.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <variablelist>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <varlistentry>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User Do automatic <command>rndc</command> configuration.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User This creates a file <filename>rndc.key</filename>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User was specified as when <acronym>BIND</acronym> was
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <filename>rndc.key</filename> file defines a default
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User command channel and authentication key allowing
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User with no further configuration.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User Running <command>rndc-confgen -a</command> allows
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User BIND 9 and <command>rndc</command> to be used as
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User replacements for BIND 8 and <command>ndc</command>,
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User with no changes to the existing BIND 8
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User If a more elaborate configuration than that
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User generated by <command>rndc-confgen -a</command>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User is required, for example if rndc is to be used remotely,
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User you should run <command>rndc-confgen</command> without
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User </varlistentry>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <varlistentry>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <term>-b <replaceable class="parameter">keysize</replaceable></term>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User Specifies the size of the authentication key in bits.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User Must be between 1 and 512 bits; the default is 128.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User </varlistentry>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <varlistentry>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <term>-c <replaceable class="parameter">keyfile</replaceable></term>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User Used with the <command>-a</command> option to specify
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User an alternate location for <filename>rndc.key</filename>.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User </varlistentry>
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User <varlistentry>