From: David Lawrence Date: Thu, 31 May 2001 11:01:29 +0000 (+0000) Subject: describe how command channel autoconfiguration works X-Git-Tag: v9.2.0a1~12 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=ea70ca20b2a4f27977f2bcfd0e4f5513efb4a6f6;p=thirdparty%2Fbind9.git describe how command channel autoconfiguration works --- diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index bde6477f4e2..fe60134d14c 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -2,7 +2,7 @@ - + BIND 9 Administrator Reference Manual @@ -806,7 +806,14 @@ of a server. rndc configuration file is /etc/rndc.conf, but an alternate location can be specified with the - option. + option. If the configuration file is not found, + rndc will also look in + /var/run/named.key (or wherever + localstatedir was defined when + the BIND build was configured). + The named.key file is generated by + named as described in + . The format of the configuration file is similar to that of named.conf, but limited to @@ -979,7 +986,7 @@ reload the database. The incremental zone transfer (IXFR) protocol is a way for slave servers to transfer only changed data, instead of having to transfer the entire zone. The IXFR protocol is documented in RFC - 1995. See + 1995. See . When acting as a master, BIND 9 supports IXFR for those zones where the necessary change history information is available. These @@ -2147,7 +2154,7 @@ the system has an interface. }; - + <command>controls</command> Statement Definition and Usage @@ -2180,6 +2187,45 @@ Usage must be signed by one of its specified keys to be honored. + The keys clause is not strictly required. + If it is not present, then a random key will be generated automatically + and placed in a file named named.key, which is + usually in /var/run but will be wherever + localstatedir was specified as when + BIND was built. named.key + contains a complete rndc.conf-compatible + configuration and is used by rndc when it + cannot find its primary configuration file. + + Similarly, named.key is generated when + no controls statement is present at all. In + that situation it will configure a control channel to run on + 127.0.0.1. + + There are two ways to disable the creation of + named.key. One is to ensure that all of your + inet control channels have a keys + clause. The other is to have a controls statement + with no inet phrases it all. The latter will + prevent the creation of any control channel. + + The named.key feature was created to + ease the transition of systems from BIND 8, + which did not have digital signatures on its command channel messages + and thus did not have a keys clause. Since + it is only intended to allow the backward-compatible usage of + BIND 8 configuration files, this feature does not + have a high degree of configurability. You cannot easily change + the key name or the size of the secret, so you should make a + rndc.conf with your own key if you wish to change + those things. The named.key file also has its + permissions set such that only the owner of the file (the user that + named is running as) can access it. If you + desire greater flexibility in allowing other users to access + rndc commands then you need to create an + rndc.conf and make it group readable by a group + that contains the users who should have access. + The UNIX control channel type of BIND 8 is not supported in BIND 9.0.0, and is not expected to be added in future releases. If it is present in the controls statement from a