[CentOS] Bind problem - rndc key (after update?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi list,

here is what happened:
today I noticed some resolution's problems on my network. I did a "service named status" and here was the output:
# /etc/init.d/named status
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,
or the key is invalid.

In the named's log, several entries like that:
general: error: invalid command from 127.0.0.1#42033: bad auth

I am not using the key's authentication on my chrooted bind dns and it was working great so far.

Searching on rndc's files in /etc I've found mismatch for the key value in /etc/rndc.conf and /etc/rndc.key. There was also a rndc.key.rpmnew file. After giving the good value for the key entry (I've copied-pasted the value from the .key file), the bind daemon seems to be happy now.

My question is how things get broken because I didn't touch the bind's config files for a year or so (only the zone files, sometime) ?

---------------
CentOS 4.4 fully updated

[root@host etc]# rpm -qa | grep bind
ypbind-1.17.2-8
bind-libs-9.2.4-16.EL4
bind-utils-9.2.4-16.EL4
bind-chroot-9.2.4-16.EL4
bind-9.2.4-16.EL4

[root@host etc]# uname -a
Linux host 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:28:26 CDT 2006 x86_64 x86_64 x86_64 GNU/Linux
-----------------

Thanks for any input.
Kfx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux