Problem running bind on freebsd

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Thu Mar 28 16:46:08 UTC 2002


Hans Wouters <hans.wouters at belbone.net> wrote:

> 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"; }
                                                                          ^^
                              missing ';' here 


peter h
> };
> 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??


> Tanx,

> 	Hans



-- 
Peter Håkanson         
        IPSec  Sverige      (At the Riverside of Gothenburg, home of Volvo)
           Sorry about my e-mail address, but i'm trying to keep spam out.
	   Remove "icke-reklam" and it works.


More information about the bind-users mailing list