From owner-freebsd-questions Tue Jul 3 15: 4:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.realtime.co.uk [194.205.134.131]) by hub.freebsd.org (Postfix) with ESMTP id 57C7837B401 for ; Tue, 3 Jul 2001 15:04:08 -0700 (PDT) (envelope-from waynep@pan.realtime.co.uk) Received: from [213.52.146.196] (helo=pan.realtime.co.uk) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 15HYH7-0005J0-01; Tue, 03 Jul 2001 23:04:05 +0100 Received: from waynep by pan.realtime.co.uk with local (Exim 3.22 #1) id 15HYGa-000CLb-00; Tue, 03 Jul 2001 23:03:32 +0100 From: Wayne Pascoe To: Jason Nugent Cc: Wayne Pascoe , Subject: SOLVED Re: named error - Weird References: Reply-To: wayne.pascoe@realtime.co.uk Date: 03 Jul 2001 23:03:32 +0100 In-Reply-To: Message-ID: <861ynxsma3.fsf@pan.ehsrealtime.com> Lines: 42 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) 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 Jason Nugent writes: > 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? Ok, Let's write this one up to 'Doh! I've been at work for too many hours'. There was an additional }; in my options block. Vim, shift-5 is my friend. Just wish I thought to use that before I posted :( Sorry all, -- - 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