rndc -- connection refused
Danny Mayer
mayer at gis.net
Mon Apr 16 00:58:16 UTC 2001
Put the key definition before the usage. Also algorithm was mispelled
as alogorithm.
Thus:
In rndc.conf:
key "rndc_key" {
algorithm hmac-md5;
secret "BivytJga3nHJ2GR4GLH00A==";
};
options {
default-server localhost;
default-key "rndc_key";
};
server localhost {
key "rndc_key";
};
In named.conf:
key "rndc_key" {
algorithm hmac-md5;
secret "BivytJga3nHJ2GR4GLH00A==";
};
controls {
inet 127.0.0.1 allow { localhost; } keys (rndc_key; };
}
I remember reading somewhere in this mailing list that there was a
problem with ordering and it was necessary to define it before usage.
Danny
At 10:35 AM 4/12/01, david.tansley at acelondon.co.uk wrote:
>I am trying to configure the rnds utility. But I always get 'connection
>refused'.
>
>I have ran dnssec-keygen to generate the files. I have used the contents from
>the private file as the secret.
>In my /etc/rnds.conf, I have;
>
>options {
> default-server localhost;
> default-key "rndc_key";
>};
>
>server localhost {
> key "rndc_key";
>};
>
>key "rndc_key" {
> algorithm hmac-md5;
> secret "BivytJga3nHJ2GR4GLH00A==";
>};
>
>
>In my /etc/named.conf, I have;
>controls {
> inet 127.0.0.1 allow { localhost; } keys (rndc_key; };
>}
>
>key "rndc_key" {
>alogorithm hmac-md5;
>secret "BivytJga3nHJ2GR4GLH00A==";
>};
>Any pointers as to what I am doing wrong.
>
>regards
>David.
>ps: apology for signature
More information about the bind-users
mailing list