From owner-freebsd-questions Sat Jul 10 21:38:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 9AEBA150AC for ; Sat, 10 Jul 1999 21:38:47 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id AAA16607; Sun, 11 Jul 1999 00:40:11 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199907110440.AAA16607@cc942873-a.ewndsr1.nj.home.com> Subject: Re: BIND 8.2 Config In-Reply-To: <199907110417.AAA16352@cc942873-a.ewndsr1.nj.home.com> from "Crist J. Clark" at "Jul 11, 99 00:17:04 am" To: cjclark@home.com Date: Sun, 11 Jul 1999 00:40:11 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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