rndc.conf error
Will Yardley
william+dns at hq.newdream.net
Mon Sep 24 08:24:44 UTC 2001
Bind Users wrote:
>
> Hi all
>
> I try to configure the /etc/rndc.conf but found errors.
>
> - syntax error :
the controls statement needs to be in your named.conf.
an example from mine (if your version of bind has rndc-confgen just use
that)
in named.conf:
controls {
inet 127.0.0.1 allow { localhost; } keys { samplekey; };
};
key samplekey {
algorithm hmac-md5;
secret "xxx";
};
and in rndc.conf:
options {
default-server localhost;
default-key samplekey;
};
server localhost {
key "samplekey";
};
key samplekey {
algorithm hmac-md5;
secret "xxx";
};
if you continue to have problems, make sure to send along the relevant
sections from your named.conf as well as your rndc.conf.
w
--
GPG Public Key:
http://infinitejazz.net/will/pgp/
More information about the bind-users
mailing list