Connection refused: why??

Maximo Ramos maximo at violadores.org
Wed Feb 28 14:09:38 UTC 2001


Hi

I am also very new to bind9 ... Please, correct me if I am wrong ...

On Wed, Feb 28, 2001 at 02:25:59PM +0100, Bines wrote:
> 
> Could anyone help me??
> 
> I get the message "Connection refused" when I try to start the new bind9 command 'rndc'.
> 
> Thanks

What I have is:

in /etc/rndc.conf

options {
        default-server  localhost;
        default-key     samplekey;
        };

key samplekey {
        algorithm hmac-md5;
	#you create the secret key with dnssec-keygen
        secret "XXXXXXXXXXXXXXXXXXXXXXX"; 
        };

server localhost {
        key samplekey;
        };

In /etc/named.conf

key samplekey {
        algorithm HMAC-MD5;
	#here the same very key
        secret "XXXXXXXXXXXXXXXXXXXXXXXX";
        };

controls {
        inet 192.168.1.1 allow { localhost; } keys { samplekey; };
        };


When you start the server you will see something like:

named[22520]: command channel listening on 192.168.1.1#953

Hope this helps .....

BTW, I just got this info today in the source tree of BIND9, in
bind-9.1.1rc3/doc/arm

-- 
----------------------------------------------------
Maximo Ramos


More information about the bind-users mailing list