From owner-freebsd-questions Tue Jul 3 14:55:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smithers.stomped.com (smithers.stomped.com [216.17.56.2]) by hub.freebsd.org (Postfix) with SMTP id 98D2437B403 for ; Tue, 3 Jul 2001 14:55:14 -0700 (PDT) (envelope-from malhavoc@stomped.com) Received: (qmail 67547 invoked by uid 1041); 3 Jul 2001 21:55:31 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Jul 2001 21:55:31 -0000 Date: Tue, 3 Jul 2001 16:55:31 -0500 (CDT) From: Jason Nugent To: Wayne Pascoe Cc: Subject: Re: named error - Weird In-Reply-To: <86elrxsn1q.fsf@pan.ehsrealtime.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wayne, Without seeing the rest of your named.conf file, it's a bit hard to track down syntax errors, but, I'd take a guess at a few things - is the allow-transfer block in your options { }; section? You might also want to try re-writing that last ip range like this: allow-transfer { 127.0.0/8 ; 192.168.1/24; }; See the section titled "ADDRESS MATCH LISTS" in named.conf(5). HTH, Jason On 3 Jul 2001 at 4:50pm, Wayne Pascoe thought about > Hi all, > > I've just setup a new chrooted named server. I have the following > section in my config file : > > allow-transfer { > 127.0.0.0/8; > 192.168.1.0; }; > > When I try and start named, I get the following error in > /var/log/messages: > /etc/named.conf:19: syntax error near allow-transfer > > Line 19 is where the above section starts. No matter where I put an > allow-transfer line in the file, or an allow-query line, I get the > same errors.> > named -v reports > named 8.2.3-REL Tue Jul 3 21:15:05 BST 2001 > root@mybox.mydomain.com:/usr/obj/usr/src/usr.sbin/named > > I really would like these directives to limit certain activities. Has > anyone seen this before and solved it? > > TIA, > > -- > - Wayne Pascoe > E-mail: wayne.pascoe@realtime.co.uk > Phone : +44 (0) 20 7544 4668 > Mobile: +44 (0) 788 431 1675 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > ---------------------- Jason Nugent Aka MalHavoc Server Programmer and Administrator S T O M P E D . C O M For PGP public key: http://malhavoc.stomped.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message