I do not want to run DNS services on my DirectAdmin Server.

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » DNS

I do not want to run DNS services on my DirectAdmin Server.Last Modified: Apr 19, 2015, 1:40 pm
If you wish to control all DNS services on another server and do not need to run named (bind) on your DirectAdmin server, you can disable it by doing the following.

1) Edit /usr/local/directadmin/data/admin/services.status and set:


2) Stop named:

/sbin/service named stop
chkconfig named off


/usr/local/etc/rc.d/named stop

3) Edit /etc/init.d/named (FreeBSD: /usr/local/etc/rc.d/named) and set the file to show:

exit 0;

This will let DirectAdmin think that it's reloading named, while the script will actually do nothing.

With these changes the dns settings will still be made, but no program will be running to host them so they will have no effect.

4) If you're running on a systemd setup (CentOS 7), then there won't be an /etc/init.d/named file.
It will be at:


and you'd need to make it's contents look like:

Description=Named Placebo
After=syslog.target network.target

ExecStart=/usr/bin/echo -n ''

which should just run the "echo" command without displaying anything, and should return a zero result.
You might also need to run:

systemctl daemon-reload

to reload the new named.service script.
Related Helpfiles
How the multi server dns clustering works

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST