Problem running bind on freebsd
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Thu Mar 28 21:39:57 UTC 2002
>
> Hi all,
>
> I've got a problem running bind on freebsd.
>
> This is my named.conf
>
> key "rndc-key" {
> algorithm hmac-md5;
> secret "b2n4rL4e32p1LJlj4ORUVA==";
> };
>
> controls {
> inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; }
> };
> options {
> directory "/etc/namedb";
> ...
>
>
> This is my rndc.conf
>
> key "rndc-key" {
> algorithm hmac-md5;
> secret "b2n4rL4e32p1LJlj4ORUVA==";
> };
>
> options {
> default-key "rndc-key";
> default-server 127.0.0.1;
> default-port 953;
> };
>
>
> Each time I start named I get the followin syslog entries.
>
> Mar 28 08:57:29 test named[14088]: /etc/namedb/named.conf:17: syntax error
> near keys
> Mar 28 08:57:29 test named[14088]: /etc/namedb/named.conf:18: syntax error
> near '}
>
> These are the 2 lines starting with "controls" in named.conf
>
> named-checkconf gives no errors.
>
> Somebody an idea??
I'll ignore the missing semi-colon above and assume that that
was a transcription error.
I suspect that you are starting a old version of named (BIND 8)
rather than BIND 9. What is named_program set to in /etc/rc.conf?
named_program="/usr/local/sbin/named"
Mark
>
>
> Tanx,
>
> Hans
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list