Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 1999 13:08:11 -0500 (CDT)
From:      Corey Brune <corey@cpsgroup.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: BIND 8.2 Config
Message-ID:  <Pine.BSF.4.10.9907121239450.1078-100000@cbrune.cpsgroup.com>
In-Reply-To: <199907110417.AAA16352@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Did you know that 8.x has a named.boot to named.conf conversion perl
script? I it is called named-bootconf.pl.
Now for your question:
The config needs brackets around the mysubnets and you need a closing
bracket around the acl subnets.
I made corrections below. I hope this help,

Corey


On Sun, 11 Jul 1999, Crist J. Clark wrote:

> (Not FreeBSD specific, but part of the 2.2.x to 3.x upgrade process.)
> 
> I'm trying to be really clever converting an old named.boot into a
> named.conf file. What is giving me grief is the new ACL option. I have
> the following lines in my named.conf (the names and addresses
> changed),
> 
> acl mynets {
>         192.168.0.0/23;
>            };
> # Global options
> options {
>         directory "/etc/namedb";
>         allow-query   { mynets };
>         allow-transfer { mynets };
> };
> 
> Starting up on named chokes at the lines using the ACL, i.e., the
> lines using 'mynets' in them,
> 
> Jul 11 00:05:14 backmail named[15097]: /etc/namedb/named.conf:16: syntax error near 'mynets'
> 
> Line 16 is the line number of the 'allow-query' line. If I comment
> that out, I will get the same error at the 'allow-transfer' line. As
> just something to try, I put double-quotes around 'mynets' in the
> allow-* lines, and there was no change in the error.
> 
> I poked around a bit, but none of the docs I found for BIND 8.2
> actually used the ACLs in examples.
> 
> Thanks for any help.
> -- 
> Crist J. Clark                           cjclark@home.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907121239450.1078-100000>