How to start named at boot time

 
SOLVED
Go to solution
Vernon Brown_3
Advisor

How to start named at boot time

I can start named from the command prompt but would like it to start at boot time. I know I could add the /etc/init.d/named start command to rc.local but suspect that it is normally started by one of the other start up scripts.

Can anyone give me a clue about which script normally starts the named DNS server.
3 REPLIES 3
Vernon Brown_3
Advisor

Re: How to start named at boot time

Forgot to add I'm running RedHat 7.1 on an HP 8500 as my dedicated LAN server. It's running Apache in proxy mode and is the gateway for my LAN.
Kodjo Agbenu
Honored Contributor
Solution

Re: How to start named at boot time

Hello,

Linux uses System V start/stop script method.

Therefore with RedHat, /etc/rc.d/rc.d/S..named and K..named should be created as symlinks to /etc/rc.d/init.d/named.

To do this automatically :

chkconfig --level 2345 named on

Good luck.

Kodjo
Learn and explain...
Vernon Brown_3
Advisor

Re: How to start named at boot time

Thanks Kodjo; works fine !