[plug] Autodns-DHCP script failing

James Devenish devenish at guild.uwa.edu.au
Wed Nov 3 15:23:46 WST 2004


In message <41885928.5000301 at tigris.org>
on Wed, Nov 03, 2004 at 12:06:00PM +0800, Timothy White wrote:
> $ sudo /etc/init.d/bind9 stop
> Stopping domain name service: namedrndc: connection to remote host closed
> This may indicate that the remote server is using an older version of
> the command protocol, this host is not authorized to connect,
> or the key is invalid.

To update BIND, just -SIGHUP it (do not do a stop-and-start cycle).
Regarding the problem shown above, you probably need to enable 'rndc'
support. I don't know if you have removed this or if it was never part
of your configuration. You will need to include a 'include "rndc.key";'
line in your named.conf, as well as something along the lines of
'controls { inet 127.0.0.1 allow { localhost; } keys { rndc_key; }; };'
(this goes as a top-level section in named.conf, not part of the options
block). I think this is described in the PLUG archives as well as in the
BIND admin manual and on the web. You will also have to create the
rndc.key file, which will look something along the lines of:

key rndc_key {
    algorithm "hmac-md5";
    secret "............................................................";
};





More information about the plug mailing list