rndc: connect failed: connection refused

Cheburashka

Registered
May 24, 2005
3
0
151
rndc status
rndc: connect failed: connection refused
what this fix?

restart bind

named started ok
Aug 18 18:44:10 ad named[2317]: starting (/etc/namedb/named.conf). named 8.3.7-REL
Tue May 25 21:15:41 GMT 2004
[email protected]:/usr/obj/usr/src/usr.sbin/named Aug 18 18:44:10 ad named[2317]: limit files set to fdlimit (1024)
Aug 18 18:44:10 ad named[2317]: /etc/namedb/named.conf:2: unknown key 'rndc-key'
Aug 18 18:44:10 ad named[2317]: /etc/namedb/named.conf:2: Ignoring BIND 9 inet control clause

Aug 18 18:44:10 ad named[2318]: Ready to answer queries.
Aug 18 18:44:10 ad named[2323]: starting (/etc/namedb/named.conf). named 8.3.7-REL
Tue May 25 21:15:41 GMT 2004 [email protected]:/usr/obj/usr/src/usr.sbin/named
Aug 18 18:44:10 ad named[2323]: limit files set to fdlimit (1024)
Aug 18 18:44:10 ad named[2323]: /etc/namedb/named.conf:2: unknown key 'rndc-key'
Aug 18 18:44:10 ad named[2323]: /etc/namedb/named.conf:2: Ignoring BIND 9 inet control clause
Aug 18 18:44:10 ad named[2324]: Ready to answer queries.
 
Last edited:

bidouilleur

Well-Known Member
Apr 27, 2003
47
0
156
cPanel Access Level
Root Administrator
open /etc/rndc.key

copy the key part with all quotes ec

paste this in the beginning of /etc/ named.conf and additionally in /etc/rndc.key

that what the other script should do.

But if you ran the script, most probably the key part has been copied over

don't forget to restart bind....