rndc: connect: connection refused

Ian Downard itd at ece.umr.edu
Wed Mar 28 05:35:29 UTC 2001



I'm trying to upgrade my Linux 2.2.17 machine from bind-8.2 to bind-9.1.0,
but I can't get rndc to reload.  Here's the command and error:
  [shell]# /usr/local/sbin/rndc reload
  rndc: connect: connection refused

I've included my named.conf and rndc.conf files below.

(there as a similar thread to this in the archive, but the solution
presented there has not worked in my case)

Thanks a bunch for any help,
Ian


---------------------------------rndc.conf-----------------------------------
options {
    default-server localhost;
    default-key    iankey;
};

server localhost {
    key     iankey;
};

key iankey {
    algorithm hmac-md5;
    secret "qoDCVaqZbcrPRcnrB0gHTA==";
};

---------------------------------named.conf-----------------------------------
key iankey {
  algorithm hmac-md5;
  secret "qoDCVaqZbcrPRcnrB0gHTA==";
};

options {
	directory "/var/named";
};

controls {
    inet 127.0.0.1 allow {any; } keys { iankey; };
};

zone "." {
	type hint;
	file "root.hints";
};

zone "0.0.127.in-addr.arpa" {
	type master;
	file "/var/named/zone/127.0.0";
};

zone "bebop.edu" {
        type master;
        notify no;
        file "/var/named/zone/bebop.edu";
};

// reverse zones
zone "1.1.10.in-addr.arpa" {
        type master;
        notify no;
        file "/var/named/zone/10.1.1";
};



More information about the bind-users mailing list