From owner-freebsd-stable Tue Dec 3 10:29: 0 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87E7D37B401 for ; Tue, 3 Dec 2002 10:28:58 -0800 (PST) Received: from linux.nu (port345.cvx3-mal.ppp.netlink.se [62.66.14.92]) by mx1.FreeBSD.org (Postfix) with SMTP id 559F143EA9 for ; Tue, 3 Dec 2002 10:28:56 -0800 (PST) (envelope-from thrawn@linux.nu) Received: (qmail 24701 invoked by uid 1022); 3 Dec 2002 19:25:59 -0000 Date: Tue, 3 Dec 2002 19:25:59 +0000 From: User Thrawn To: Matthew Seaman Cc: freebsd-stable@freebsd.org Subject: Re: Named problem Message-ID: <20021203192559.GC23724@dasboot.birch.se> References: <20021203172500.GA23429@dasboot.birch.se> <20021203165723.GB74738@happy-idiot-talk.infracaninophi> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20021203165723.GB74738@happy-idiot-talk.infracaninophi> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, On Tue, Dec 03, 2002 at 04:57:23PM +0000, Matthew Seaman wrote: > Hmmm... With the bind-9.2.1 port, you don't need to install everything > under the chroot directory, neither do you need to either staticly > link the programs or copy any shlibs under the the chroot. Aha okej, I didn't know that. Thanks for that I will change that. > syslogd_flags="-ss -l /etc/namedb/master/var/run/log" > so you can see any log messages produced after named calls chroot(2)? Not until now, I added them and restarted syslogd manualy. But should log be a dir or a file? Its look like this for now when I do a ls -l on it: srw-rw-rw- 1 root bind 0 Dec 3 18:37 log > > host { any; } { > > topology { > > 127.0.0.0/8 192.168.0.0/24; > > }; > > }; > > > Hmmmm.. According to > file:///usr/local/share/doc/bind9/arm/Bv9ARM.ch06.html#Configuration_File_Grammar > there isn't any mention of such a thing as a 'host' top level block in > the config file. There's a 'topology {};' element that is part of the > 'options {};' block. However, it defaults to: 'topology { localhost; > localnets; };' which is pretty much what you have already. So you are saying that I should remove it then? > The 1.0....0.IP6.INT zone (RFC 1886) is deprecated now. You should also use: > > zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA" { > type master; > file "localhost-v6.rev"; > allow-query { 127.0.0.1/32; 192.168.0.0/24; > }; > }; > > which is from RFC 3152, and seeing as you're running bind-9.2.1, you > might use bitstring labels as well: > > zone "\[x00000000000000000000000000000001].IP6.ARPA" { > type master; > file "localhost-v6.rev"; > allow-query { 127.0.0.1/32; 192.168.0.0/24; > }; > }; Changed that to, thanks for the help so far :) Mvh Mattias Björk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message