bind 9.5.1b1(rndc.key) Problem

iman iman.habibi at gmail.com
Fri Aug 22 21:17:52 UTC 2008


Dear Admins
I compiled bind 9.5.1b1 and installed it on solaris9.
here are my compile options:
./configure --enable-shared=no --sysconfdir=/opt/namesurfer/config
--sbindir=/opt/namesurfer/named --localstatedir=/opt/namesurfer
--prefix=/opt/namesurfer
but when i started named ,i saw that it got error with:
-sh-3.2# Aug 21 21:32:00 lct-test named[23355]: [ID 873579
daemon.notice]
starting BIND 9.5.1b1
Aug 21 21:32:00 lct-test named[23355]: [ID 873579 daemon.error]
/opt/namesurfer/config/named.conf:14: unknown key 'rndckey'
Aug 21 21:32:00 lct-test named[23355]: [ID 873579 daemon.crit]
loading
configuration: failure
Aug 21 21:32:00 lct-test named[23355]: [ID 873579 daemon.crit] exiting
(due
to fatal error)
however i put rndc.key in /opt/namesurfer/config!
but when i delet this part of named.conf:
inet  127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndckey";};---
>inet 127.0.0.1 port 953 allow { 127.0.0.1; };
the named start properly!
how can i fix this problem without deleting "keys { "rndckey"; }"
from  named.conf?
should i change my ./configure options for this or change some other
things after compile?
why bind get this error from named.conf?
any idea would be appreciated
Regards
iman.habibi at gmail.com


More information about the bind-users mailing list