Re: How to start chroot BIND automatically at boot
--- Jeff D <fixedored@gmail.com> wrote:
> On Thu, 30 Oct 2008, Stephen Liu wrote:
>
> > Hi folks,
> >
> >
> > Debian Etch
> > bind-9.5.0 compiled on source
> > chrooted
> >
> > Which file I have to edit adding;
> > /etc/init.d/bind9 start
> >
> > so bind9 will start automatically at boot.
> >
> > TIA
> >
> >
> > B.R.
> > Stephen L
>
> make sure you have the sysv-rc package installed and run
> update-rc.d bind9 defaults
>
> or man update-rc.d for other options
>
> Jeff
Hi Jeff,
Thanks for your advice.
# apt-cache policy sysv-rc
sysv-rc:
Installed: 2.86.ds1-38+etchnhalf.1
Candidate: 2.86.ds1-38+etchnhalf.1
Version table:
*** 2.86.ds1-38+etchnhalf.1 0
500 http://ftp.au.debian.org etch/main Packages
100 /var/lib/dpkg/status
The package has been installed.
Can I run;
update-rc.d bind9
to activate starting bind9 at boot ? Because I installed bind-9.5.0
from source.
It runs;
#/usr/local/bind/sbin/named -u named -t /usr/local/bind -c
/etc/named.conf
to start bind9
B.R.
Stephen L
Send instant messages to your online friends http://uk.messenger.yahoo.com
Reply to: