Page 1 of 1

How do I prevent Bind9 from restarting automatically?

Posted: Wed Dec 16, 2015 6:45 pm
by rasheid
When i stop bind9 it restarts automatically after few minutes.
How do i prevent it from restarting?
Why does it restart automatically?

Re: How do I prevent Bind9 from restarting automatically?

Posted: Thu Jan 07, 2016 1:18 am
by BBuchanan1013
rasheid wrote:When i stop bind9 it restarts automatically after few minutes.
How do i prevent it from restarting?
Why does it restart automatically?
It restarts automatically to prevent the service from going down and preventing the built in DNS from being a failure for your websites.

Depending on your OS you can try:
chkconfig bind off
or
chkconfig named off
or
NOT RECOMMENDED
chkconfig bind --del
or
chkconfig named --del

You can also:
update.rc.d -f bind remove
or
update.rc.d -f named remove