bind-9.1.3 : rndc - connection refused

Bind Users bind at time.net.my
Wed Oct 3 03:25:18 UTC 2001


Hi

I try to use "rndc" tools for my bind-9.1.3 but failed. "connection 
refused".

# rndc reload
rndc: connect: connection refused

I have generate the 256-bit key by using command :

# dnssec-keygen -a hmac-md5 -b 256 -n HOST key_rndc

I grep the key-code from the "private" file and insert into the 
named.conf and rndc.conf. What wrongs ? Anybody can help me ? pls.


/etc/named.conf :
------------------------
controls {
        inet 127.0.0.1 allow { localhost; } keys { key_rndc; };
};

key  "key_rndc" {
        algorithm hmac-md5;
        secret "secret-key-for-rndc-by-dnssec-keygen";
};

/etc/rndc.conf:
--------------------

key "rndc_key" {
   algorithm hmac-md5;
   secret "secret-key-for-rndc-by-dnssec-keygen";
};

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





More information about the bind-users mailing list