Skip site navigation (1)Skip section navigation (2)
Date:      03 Jul 2001 23:03:32 +0100
From:      Wayne Pascoe <wayne.pascoe@realtime.co.uk>
To:        Jason Nugent <malhavoc@stomped.com>
Cc:        Wayne Pascoe <wayne.pascoe@realtime.co.uk>, <freebsd-questions@freebsd.org>
Subject:   SOLVED Re: named error - Weird
Message-ID:  <861ynxsma3.fsf@pan.ehsrealtime.com>
In-Reply-To: <Pine.BSF.4.33.0107031650001.67323-100000@smithers.stomped.com>
References:  <Pine.BSF.4.33.0107031650001.67323-100000@smithers.stomped.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Nugent <malhavoc@stomped.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861ynxsma3.fsf>