Discussion Locked

DNS startup on bootup

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have DNS setup on my Red Hat Linux 6.2 server and it works, however it doesn't automatically start DNS when the server is booted up. I have to manually start it each time. How can I make it auto start the service on bootup?

3 replies

by zbrain75

Run "linuxconf" as user root from the command line. Go to the "Control", "Control Panel", and "Control Service Activity". Use the arrow keys to move dowen to "named", press enter, Tap to start and press enter, then tab to "[ ] Automatic" and pressspace to put an X there. TAB to Accept, press enter, and save changes as you exit.

You have started the service and set it up to start when you boot.

From the command line you can start or stop it with the commands:
ndc stop
ndc start
ndcrestart

Doing these "ndc ..." commands will not affect its ability to start the next time you boot. Normally if you change your configuration files, it is convenient to use "ndc restart" to put the changes in effect.

This discussion is closed to new replies.