BIND issues with rndc

James Marcinek jmarc1 at jemconsult.biz
Tue May 25 21:00:34 UTC 2004


I did this and also tried this and it didn't (it was actually already
there). I removed the redhat-config-bind package as I was not using it and
it complicated things (by needing me to use the named.custom file). I have
since removed it. I've hacked my zone files now so I'll be rebuiding them
this weekend. I'll give it another try...

> Hi James,
>
> Do the following thing to solve this problem:
>
> vi /etc/named.conf file and uncomment the following lines:
>
> controls {
>  net 127.0.0.1 allow { localhost; } keys { rndckey; }; };
>
> After this restart the named daemon.
>
> # service named restart
> or if it is desabled or stopped then
> # service named start.
>
> Hopefully this will solve your problem.
>
> Thanks
>
> Vivek
>
> On Mon, 2004-05-24 at 15:08, James Marcinek wrote:
>> Hello all,
>>
>> I recently upgraded my name server (running Red Hat) which upgraded
>> versions of BIND. The Red Hat has a GUI tool (redhat-config-named),
>> which
>> I don't use; however it complicates things a bit as I now have to put my
>> definitions in a file called named.custom. The problem I'm having is
>> when
>> I now start the service (or stop it) I get the following error:
>>
>> service named restart
>> Stopping named: rndc: no key definition for name /etc/rndc.key
>>                                                            [FAILED]
>> Starting named:                                            [  OK  ]
>>
>> I've read some on the rndc issue and I have read through the man pages
>> but
>> so far I can't fix this problem. My named.conf (and named.custom) both
>> have the following:
>>
>> include "/etc/named.custom"; (this is only in the named.conf)
>> include "/etc/rndc.key";
>>
>> I already had an /etc/rndc.key file; however I wasn't sure if it was no
>> longer valid. I tried the following:
>>
>> rndc-confgen -a
>>
>> then tried to restart the daemon but without success
>>
>> rndc-confgen
>>
>> having no success with this either.
>>
>> Can anyone point me in the right direction?
>>
>> Thanks,
>>
>> James
>>
>>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>





More information about the redhat-list mailing list