Subject: Re: BIND9-current
To: Nicolas Saurbier <Nicolas.Saurbier@biodata.de>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: netbsd-help
Date: 10/30/2002 13:14:58
On Wed, 30 Oct 2002, Nicolas Saurbier wrote:

> How do I start BIND? Shall I cp /usr/pkg/etc/rc.d/named9 /etc/rc.conf.d/ ????
> Shall I add named9=YES to rc.conf???

This is how I start bind 9 (into a chroot jail):

/etc/rc.local:
if [ -f /usr/pkg/etc/rc.d/named9 ]; then
        /usr/pkg/etc/rc.d/named9 start
fi

/etc/rc.conf:
named9=YES
named_flags="-u named -t /var/chroot/named"

Martti

---
Martti Kuparinen <martti.kuparinen@iki.fi>      NetBSD - No media hype
http://www.iki.fi/kuparine/                     http://www.netbsd.org/