LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 07-05-2012, 01:23 PM   #1
VisionIncision
Member
 
Registered: Dec 2011
Location: London, UK
Distribution: Slackware64 14
Posts: 100

Rep: Reputation: Disabled
bind9 init script


Hi all,
I compiled and installed Bind9.8.1-P1 on Debian 6, but it has no init script. Does anybody have one I could use? As I have never written an init script before. Alternatively, if anybody has any guides they could link me to, that would be grand. Thanks.

Jack Hunt
 
Old 07-05-2012, 03:02 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

You can just stick in /etc/rc.local the command you use to start bind, e.g.
Code:
/path/to/sbin/named -u named
If you want to be formal, have a look here to write a basic startup/shutdown script and use update-rc.d to create the symlinks needed

BTW since you compiled bind from source, why didn't you compile the latest bind-9.8.3-P1 for security reasons?

Regards
 
Old 07-09-2012, 09:27 AM   #3
VisionIncision
Member
 
Registered: Dec 2011
Location: London, UK
Distribution: Slackware64 14
Posts: 100

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
Hi,

You can just stick in /etc/rc.local the command you use to start bind, e.g.
Code:
/path/to/sbin/named -u named
If you want to be formal, have a look here to write a basic startup/shutdown script and use update-rc.d to create the symlinks needed

BTW since you compiled bind from source, why didn't you compile the latest bind-9.8.3-P1 for security reasons?

Regards
Thank you. I think it was because of Samba4 compatibility or something, probably. Must have been a reason.
 
  


Reply

Tags
bind9, debian, dns


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Script no in init.d davidedwardgill Linux - Software 1 08-21-2011 10:07 AM
Init script in /etc/init.d does not start at boot tdnnash25 Linux - Server 4 12-18-2009 05:40 PM
Init.d Script pliqui Debian 11 06-16-2009 09:58 AM
need help with init script batymahn Linux - Server 1 08-23-2007 12:12 PM
could use some help with my init.d script.... BrianK Linux - General 3 10-31-2002 08:21 PM


All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration