NAME
rndc-confgen - rndc key generation tool
SYNOPSIS
rrnnddcc-ccoonnffggeenn [-aa] [-bb keysize] [-cc keyfile] [-hh] [-kk keyname] [-pp port]
[-rr randomfile] [-ss address] [-tt chrootdir] [-uu user]
DESCRIPTION
rrnnddcc-ccoonnffggeenn generates configuration files for rrnnddcc. It can be used as
a convenient alternative to writing the rndc.conf file and the corresponding ccoonnttrroollss and kkeeyy statements in named.conf by hand.Alternatively, it can be run with the -aa option to set up a rndc.key
file and avoid the need for a rndc.conf file and a ccoonnttrroollss statement altogether. OOPPTTIIOONNSS-a
Do automatic rrnnddcc configuration. This creates a file rndc.key in /etc (or whatever sysconfdir was specified as when BIND was built) that is read by both rrnnddcc and nnaammeedd on startup. The rndc.key file defines a default command channel and authentication key allowing rrnnddcc to communicate with nnaammeedd on the local host with no further configuration.Running rrnnddcc-ccoonnffggeenn -aa allows BIND 9 and rrnnddcc to be used as
drop-in replacements for BIND 8 and nnddcc, with no changes to the
existing BIND 8 named.conf file. If a more elaborate configuration than that generated byrrnnddcc-ccoonnffggeenn -aa is required, for example if rndc is to be used
remotely, you should run rrnnddcc-ccoonnffggeenn without the -aa option and set
up a rndc.conf and named.conf as directed.-b keysize
Specifies the size of the authentication key in bits. Must be between 1 and 512 bits; the default is 128.-c keyfile
Used with the -aa option to specify an alternate location for
rndc.key.-h
Prints a short summary of the options and arguments torrnnddcc-ccoonnffggeenn.
-k keyname
Specifies the key name of the rndc authentication key. This must bea valid domain name. The default is rrnnddcc-kkeeyy.
-p port
Specifies the command channel port where nnaammeedd listens for connections from rrnnddcc. The default is 953.-r randomfile
Specifies a source of random data for generating the authorization. If the operating system does not provide a /dev/random or equivalent device, the default source of randomness is keyboard input. randomdev specifies the name of a character device or file containing random data to be used instead of the default. The special value keyboard indicates that keyboard input should be used.-s address
Specifies the IP address where nnaammeedd listens for command channel connections from rrnnddcc. The default is the loopback address 127.0.0.1.-t chrootdir
Used with the -aa option to specify a directory where nnaammeedd will run
chrooted. An additional copy of the rndc.key will be written relative to this directory so that it will be found by the chrooted nnaammeedd.-u user
Used with the -aa option to set the owner of the rndc.key file
generated. If -tt is also specified only the file in the chroot area
has its owner changed. EEXXAAMMPPLLEESS To allow rrnnddcc to be used with no manual configuration, runrrnnddcc-ccoonnffggeenn -aa
To print a sample rndc.conf file and corresponding ccoonnttrroollss and kkeeyy statements to be manually inserted into named.conf, runrrnnddcc-ccoonnffggeenn
SEE ALSO
rrnnddcc(8), rrnnddcc..ccoonnff(5), nnaammeedd(8), BIND 9 Administrator Reference Manual. AUTHOR Internet Systems Consortium COPYRIGHT Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") Copyright (C) 2001, 2003 Internet Software Consortium.BIND9 Aug 27, 2001 RNDC-CONFGEN(8)