rndc connection problems

Tom Diehl tdiehl at rogueind.com
Mon Aug 21 15:03:10 UTC 2006


On Mon, 21 Aug 2006, Ronni Jensen wrote:

> Hi
>
> I have BIND 9.3.2 running on a RHEL server, and rndc worked fine until
> now. Now, when I do a "rndc status", "rndc reload" or similar, I get
> this error:
>
> 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.
>
> If I just restart BIND, I get this in the log, though it also loads the
> zones successfully:
>
> Aug 21 15:25:56.840 general: error: invalid command from
> 127.0.0.1#46662: bad auth
> Aug 21 15:29:27.712 general: error: invalid command from
> 127.0.0.1#46667: bad auth
>
> Any ideas what happened? And how to fix? Any help will be much
> appreciated.

It would appear that Red Hat b0rked the latest bind update. If you look at 
/etc/rndc.conf and /etc/rndc.key you will find that the keys are different.

Make them the same and all should be well again.

Regards,

-- 
Tom Diehl		tdiehl at rogueind.com		Spamtrap address mtd123 at rogueind.com



More information about the bind-users mailing list