Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 1999 00:40:11 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        cjclark@home.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: BIND 8.2 Config
Message-ID:  <199907110440.AAA16607@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <199907110417.AAA16352@cc942873-a.ewndsr1.nj.home.com> from "Crist J. Clark" at "Jul 11, 99 00:17:04 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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'

Nevermind. Figured it out.

acl mynets {
        192.168.0.0/23;

};

# Global options
options {
        directory "/etc/namedb";
        allow-query {
		    mynets;
	};
        allow-transfer {
		    mynets;
	};
};


Duh.

Sorry for the waste of bandwidth.
-- 
Crist J. Clark                           cjclark@home.com


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?199907110440.AAA16607>