Control Web Panel

WebPanel => DNS => Topic started by: Saahib on May 19, 2015, 09:27:39 PM

Title: Removing bind ?
Post by: Saahib on May 19, 2015, 09:27:39 PM
Hi, I have just installed CWP for first time and plans to use it for some personal sites but I will use a remote DNS server , so I suppose its safe to remove BIND /named service from the server, so what is the optimal way to do this (centos 6.6 running on VPS)
Title: Re: Removing bind ?
Post by: Igor S. on May 20, 2015, 06:30:46 AM
Hi, I have just installed CWP for first time and plans to use it for some personal sites but I will use a remote DNS server , so I suppose its safe to remove BIND /named service from the server, so what is the optimal way to do this (centos 6.6 running on VPS)

You can just stop bind server. Two SSH commands:
1. /etc/init.d/named stop
2. chkconfig named off
Title: Re: Removing bind ?
Post by: Saahib on May 20, 2015, 01:21:26 PM
Is it that there is something like service monitor of cPanel in CWP which Monitors stopped services and attempts to start automatically if one is failed.. like Monit ?
Title: Re: Removing bind ?
Post by: Igor S. on May 20, 2015, 01:36:56 PM
Is it that there is something like service monitor of cPanel in CWP which Monitors stopped services and attempts to start automatically if one is failed.. like Monit ?

Not really, it is just show to you what service does not work.
Title: Re: Removing bind ?
Post by: erm3nda on May 22, 2015, 05:00:10 PM
Bind:

I guess that if you don't use Bind for serve DNS you still would appreciate it as a database of your "remote" DNS entries.
Think a second on catastrophic die of the remote DNS. How would you get back your DNS zones?

The only problem of a DNS server, is the RAM it ates if it's really working, and getting data into cache.
But, you can still running it locally with no prob.

Especial note: I wrote a few lines each day on a auto_commit DNS module for http://freedns.afraid.org and dondominio.com.
So you can manage all your entries from your server and the module does the remote commit for you.
It works, but need some tweaks to release because im a newbie and dont know all CWP code (joke, right?).
Just wanna make a module ;)

Monit:

Monit is included on the most of the CentOS. I've found installed on mine, but im not sure from where it comes (i guess form the SO ovz_template) if was not from cwp.

Stop named:
CentOS (RHEL) has also services manager and you can do that:
Code: [Select]
service named stopI guess
Code: [Select]
chkconfig named off would disable too, not only stop.
And you can stop also from your new and awesome CWP webpanel :D