rndc-confgen

From RaySoft

rndc-confgen generates configuration files for rndc. It can be used as a convenient alternative to writing the rndc.conf file and the corresponding controls and key statements in named.conf by hand. Alternatively, it can be run with the -a option to set up a rndc.key file and avoid the need for a rndc.conf file and a controls statement altogether.[1]

Documentation

Syntax

rndc-confgen [PARAMETER ...]

Parameters

-a
Do automatic rndc configuration. This creates a file /etc/rndc.conf (or whatever sysconfdir was specified as when BIND was built) that is read by both rndc and named on startup. The rndc.conf file defines a default command channel and authentication key allowing rndc to communicate with named on the local host with no further configuration.

References

  1. man 8 'rndc-confgen'