Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rndc error: connection refused

Status
Not open for further replies.

jlaverdiere

Technical User
Jun 30, 2001
18
US
hi ..
Im running into this problem with the newer version of bind that uses rndc as a control program for the name server. I have tried to ger dns to run but keep getting this error. here is what I have in the named.conf file.


## named.conf - configuration for bind
#
# Generated automatically by bindconf, alchemist et al.
options {
default-server localhost;
default-key "key";
};

server localhost {
key "key";
};

key "key" {
algorithm hmac-md5;
secret "gXZwhjJgXQQBcybFCfXdAWAUbHxjKjgxdghlwsgYrhnnKskLMcEgnJyVCiXh";
};

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

/*
* Control socket - do it on localhost with rndc
*/

controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { localkey; };
};

zone "." {
type hint;
file "named.ca";
};


zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "1.168.192.in-addr.arpa.zone";
};


zone "localhost" {
type master;
file "localhost.zone";
};
zone "Rivendell.com" {
type master;
file "Rivendell.com.zone";
};

Am I missing anything??? I have restarted named and xinetd but when I do a named stop it ggives me a "failed" message. Nothing unusual happens when i do a named start though

when I do a named status it comes back with a " hanged or connection refused" message. RNDC is running and everything else is looking good. I know this is new stuff and tedious but if someone is up to the challenge I could sure use the help

Thanks in advance for all your help

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top