Date: Tue, 3 Dec 2002 19:25:59 +0000 From: User Thrawn <thrawn@linux.nu> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-stable@freebsd.org Subject: Re: Named problem Message-ID: <20021203192559.GC23724@dasboot.birch.se> In-Reply-To: <20021203165723.GB74738@happy-idiot-talk.infracaninophi> References: <20021203172500.GA23429@dasboot.birch.se> <20021203165723.GB74738@happy-idiot-talk.infracaninophi>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021203192559.GC23724>