Just got myself a new VPS, not the first I can assure you.

Upon adding any DNS entry, I am prompted with this:

WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
rndc: connect failed: connection refused

I have no idea how this problem started, and I've tried the cPanel fixrdnc script with no success.

What's the trick to get this warning to go away?


If it is CentOS6 then you can just delete rndc.key and restart named. That fixed similar issue I had some time ago.

  • Nope, Didn't work. Still getting the same error. – Moe Jul 19 '12 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.