1 .\" $NetBSD: rndc-confgen.8,v 1.6 2014/12/10 04:37:51 christos Exp $
3 .\" Copyright (C) 2004, 2005, 2007, 2009, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
4 .\" Copyright (C) 2001, 2003 Internet Software Consortium.
6 .\" Permission to use, copy, modify, and/or distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 .\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 .\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 .\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 .\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 .\" PERFORMANCE OF THIS SOFTWARE.
22 .\" Title: rndc\-confgen
24 .\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
25 .\" Date: March 14, 2013
29 .TH "RNDC\-CONFGEN" "8" "March 14, 2013" "BIND9" "BIND9"
30 .\" disable hyphenation
32 .\" disable justification (adjust text to left margin only)
35 rndc\-confgen \- rndc key generation tool
38 \fBrndc\-confgen\fR [\fB\-a\fR] [\fB\-A\ \fR\fB\fIalgorithm\fR\fR] [\fB\-b\ \fR\fB\fIkeysize\fR\fR] [\fB\-c\ \fR\fB\fIkeyfile\fR\fR] [\fB\-h\fR] [\fB\-k\ \fR\fB\fIkeyname\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-r\ \fR\fB\fIrandomfile\fR\fR] [\fB\-s\ \fR\fB\fIaddress\fR\fR] [\fB\-t\ \fR\fB\fIchrootdir\fR\fR] [\fB\-u\ \fR\fB\fIuser\fR\fR]
42 generates configuration files for
43 \fBrndc\fR. It can be used as a convenient alternative to writing the
45 file and the corresponding
51 by hand. Alternatively, it can be run with the
55 file and avoid the need for a
66 configuration. This creates a file
74 was built) that is read by both
80 file defines a default command channel and authentication key allowing
84 on the local host with no further configuration.
87 \fBrndc\-confgen \-a\fR
90 to be used as drop\-in replacements for BIND 8 and
91 \fBndc\fR, with no changes to the existing BIND 8
95 If a more elaborate configuration than that generated by
96 \fBrndc\-confgen \-a\fR
97 is required, for example if rndc is to be used remotely, you should run
110 Specifies the algorithm to use for the TSIG key. Available choices are: hmac\-md5, hmac\-sha1, hmac\-sha224, hmac\-sha256, hmac\-sha384 and hmac\-sha512. The default is hmac\-md5.
115 Specifies the size of the authentication key in bits. Must be between 1 and 512 bits; the default is the hash size.
122 option to specify an alternate location for
128 Prints a short summary of the options and arguments to
134 Specifies the key name of the rndc authentication key. This must be a valid domain name. The default is
140 Specifies the command channel port where
142 listens for connections from
143 \fBrndc\fR. The default is 953.
148 Specifies a source of random data for generating the authorization. If the operating system does not provide a
150 or equivalent device, the default source of randomness is keyboard input.
152 specifies the name of a character device or file containing random data to be used instead of the default. The special value
154 indicates that keyboard input should be used.
159 Specifies the IP address where
161 listens for command channel connections from
162 \fBrndc\fR. The default is the loopback address 127.0.0.1.
169 option to specify a directory where
171 will run chrooted. An additional copy of the
173 will be written relative to this directory so that it will be found by the chrooted
181 option to set the owner of the
185 is also specified only the file in the chroot area has its owner changed.
191 to be used with no manual configuration, run
193 \fBrndc\-confgen \-a\fR
197 file and corresponding
201 statements to be manually inserted into
202 \fInamed.conf\fR, run
210 BIND 9 Administrator Reference Manual.
213 Internet Systems Consortium
215 Copyright \(co 2004, 2005, 2007, 2009, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
217 Copyright \(co 2001, 2003 Internet Software Consortium.