rndc.key vs. rndc.conf

Jeremy C. Reed jreed at isc.org
Sun Oct 3 03:08:56 UTC 2010


On Sat, 2 Oct 2010, online-reg wrote:

> Hi All: One more conf issue on bind 9.7.1-P2
>  
> After running rndc-confgen and reloading BIND I?m getting this error:
>  
> WARNING: key file (/etc/namedb/rndc.key) exists, but using default
> configuration file (/etc/namedb/rndc.conf)
> rndc: connection to remote host closed
> This may indicate that
> * the remote server is using an older version of the command protocol,
> * this host is not authorized to connect,
> * the clocks are not synchronized, or
> * the key is invalid.
>  
> It seems like I have a valid key in both files...what do I need to change?

And clocks are close in time?

Also this same problem could happen if you have a custom key file, but 
it is still using the default configuration file instead (so maybe using 
old, wrong key).


More information about the bind-users mailing list