SV: rndc connection problems

Ronni Jensen roj at mvb.dk
Mon Aug 21 15:13:18 UTC 2006


Yes, I disgovered that earlier and it's now working again. But the
problem was the one you described, thanks anyway :)

GG Redhat..

Best regards,
Ronni

-----Oprindelig meddelelse-----
Fra: Tom Diehl [mailto:tdiehl at rogueind.com] 
Sendt: 21. august 2006 17:03
Til: Ronni Jensen
Cc: bind-users at isc.org
Emne: Re: rndc connection problems

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