LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to add BIND DNS server to startup in Red Hat? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-add-bind-dns-server-to-startup-in-red-hat-152087/)

BxBoy 03-01-2004 12:49 AM

How to add BIND DNS server to startup in Red Hat?
 
I just downloaded, compiled, and install the latest BIND 9.2.3

now I would like to put a script in my /etc/rc.d/init.d folder, but I don't have a script. Where can I find the script or how do I create one?

Thanks.

ryancoolest 03-01-2004 01:53 AM

You can add your command via /etc/rc.d/rc.local it will automatically start... same goes with the script if wanna make one...

roopunix 03-01-2004 04:12 AM

you can type the comand "ntsysv" and select ths daemons you would like
to make it active in startup

aqoliveira 03-01-2004 04:57 AM

howzit

other places to activate services are setup , chkconfig.

look in /etc/rc.d/init.d service names will be the following

bind= named

ciao

BxBoy 03-01-2004 12:33 PM

The problem is that I'm using Red Hat Enterprise which doesn't come with bind pre-installed, so I had to install it manually. The only problem is, it didn't come with a script so I have nothing to put in the /etc/rc.d/init.d directory.


All times are GMT -5. The time now is 10:13 PM.