PDA

View Full Version : Problems with Bind


rmenezes
12th August 2004, 08:22 PM
I am with problems in a Bind Server.

The file named.conf is with the following lines:

controls {
inet 127.0.0.1 allow { localhost; } keys { keyname; };
};

key keyname {
algorithm hmac-md5;
secret "something";
};

And the file /etc/rndc.conf:

options {
default-server localhost;
default-key "keyname";
};

server localhost {
key "keyname";
};

key "keyname" {
algorithm hmac-md5;
secret "something";
};

But with the command "rndc reload" the software show: rndc: connect failed: connection refused.

The <key-name> and <key-value> are exactly the same as their settings in /etc/named.conf, what is wrong with my server?