ispCP - Board - Support
[SOLVED] Disabling Bind? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [SOLVED] Disabling Bind? (/thread-2791.html)



[SOLVED] Disabling Bind? - lost108 - 03-20-2008 07:27 AM

We have our own DNS managing all of our domains and would like to continue using them. Whenever we turn the bind9 service off, it gets started back up the next a domain is edited using the control panel.

How can we permanently disable Bind and prevent ispCP from reactivating it? We would like to have our DNS servers continue to resolve all of our domains on their own - for better or for worse.

Thank you in advance for your assistance!


RE: Disabling Bind? - Cube - 03-20-2008 07:54 AM

Set CMD_NAMED in ispcp.conf to no.


RE: Disabling Bind? - lost108 - 03-21-2008 01:03 AM

Thanks for such a fast reply!

Cube Wrote:Set CMD_NAMED in ispcp.conf to no.

Your instructions worked. After rebooting the server, the responses we receive when running #> dig domainOnServer.com are exactly as they should be - coming from the actual authoritative dns.

However, bind9 is still running on the server. As soon as we run /etc/init.d/bind9 stop , dig is unable to complete any queries. It just returns the following error:

# dig domainOnServer.com

; <<>> DiG 9.3.4 <<>> domainOnServer.com
;; global options: printcmd
;; connection timed out; no servers could be reached

Even # dig cnn.com does not work

; <<>> DiG 9.3.4 <<>> cnn.com
;; global options: printcmd
;; connection timed out; no servers could be reached

How would we resolve this issue? Our other servers don't run bind9 and I don't want to have bind9 running here if there is no need for it.

Thanks again for the guidance!


RE: Disabling Bind? - Cube - 03-21-2008 01:25 AM

Are the nameservers set correctly in /etc/resolv.conf? It should be something like this:
Code:
nameserver xx.xx.xx.xx
nameserver xx.xx.xx.xx



RE: Disabling Bind? - lost108 - 03-21-2008 01:30 AM

Cube Wrote:Are the nameservers set correctly in /etc/resolv.conf? It should be something like this:
Code:
nameserver xx.xx.xx.xx
nameserver xx.xx.xx.xx

Bingo. Issue resolved. Thanks so much!