Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th October 2008, 05:57
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default How to start bind9 automatically at boot

Hi folks,


Debian Etch
bind-9.5.0 compiled on source
chrooted


Which file I have to edit adding;
Code:
/usr/local/bind/sbin/named -u named -t /usr/local/bind -c /etc/named.conf

so bind9 will start automatically at boot.


# ls /etc/ | grep rc
Code:
bash.bashrc
inputrc
nanorc
rc.local
rc0.d
rc1.d
rc2.d
rc3.d
rc4.d
rc5.d
rc6.d
rcS.d
wgetrc

rc.local ? It is an empty file. Only "exit 0" is there.


TIA


B.R.
satimis
Reply With Quote
Sponsored Links
  #2  
Old 30th October 2008, 17:53
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default Solved

Adding;
Code:
/usr/local/bind/sbin/named -u named -t /usr/local/bind -c /etc/named.conf
on /etc/rc.local

# rm /etc/resolv.conf

# reboot


bind9 starts at boot.


The DNS server is now working.


satimis
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monit on Debian Hans Tips/Tricks/Mods 2 6th October 2008 13:53
packet loss Chad Server Operation 2 12th June 2008 14:13
Monit & Munin SamTzu HOWTO-Related Questions 1 4th May 2008 18:03
How to start Apache2 automatically at boot satimis Server Operation 1 2nd February 2008 16:33
"Too many open files in system" problems Berry Installation/Configuration 3 10th November 2007 21:58


All times are GMT +2. The time now is 20:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.