1

I'm running a Bind9 (9.8.4-rpz2+rl005.12-P1) DNS on a Debian 7.9 server and all is working fine, but whenever I try to restart the named service I get the following error into syslog:

WARNING: key file (/etc/bind/rndc.key) exists, but using default configuration file (/etc/bind/rndc.conf)

named-checkconf command does not give me any error.

Since I don't want my DNS stop working prior to do anything I would like to have some tips from someone that knows better than me how can I get rid of this warning or if I should ignore this message.

1 Answer 1

1

The warning is telling you that you have an rndc.key configuration file (possibly/probably left over from an older version) but it's not being used. The default configuration file rndc.conf is what bind is actually using for its configuration.

6
  • You should do this more often.
    – user9517
    Feb 23, 2016 at 15:20
  • 1
    @Iain 1010 to go! Yay for REMAAS... Feb 23, 2016 at 15:26
  • So if I remove or rename the /etc/bind/rndc.key I should get rid of that warning message?
    – cloud81
    Feb 23, 2016 at 15:53
  • Yes. p.s. you can accept this answer if you find it useful by clicking the check mark. Feb 23, 2016 at 15:57
  • That'll be just 996 now then.
    – user9517
    Feb 23, 2016 at 18:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .