Control Web Panel

WebPanel => DNS => Topic started by: cwp_user2018 on February 21, 2018, 06:42:18 PM

Title: Setup Pne Master DNS zone for many CWP Server
Post by: cwp_user2018 on February 21, 2018, 06:42:18 PM
Hello.
I am trying to set up one Master DNS zone with few CWP servers.
How can I do this ?
Title: Re: Setup Pne Master DNS zone for many CWP Server
Post by: cwp_user2018 on February 23, 2018, 12:48:33 PM
One more time becouse I wasnn't to exact.

I have 3 VPS servers with Centos7 and CWP Installed.
I want to use
ns1.domain.com
ns2.domain.com
NS for all this 3 servers.

And then setup SLAVE on another VPS.

How can I do this ?
Title: Re: Setup Pne Master DNS zone for many CWP Server
Post by: ghoste on February 11, 2020, 12:15:01 PM
and I would like to use this architecture with my own nameservers but unfortunately the documentation that is put on the site https://wiki.centos-webpanel.com/category/dns is not explicit and from what I read in the forum it does not work, we we have 12 cwp pro servers, and 2 licenses use them only for ns1 and ns2, to point the domains hosted on the other cwp pro servers, it should be something like http://freedns.centos-webpanel.com/ where to add the domain and edit the DNS area but with its own nameservers.
If there is a solution I would like to know, thank you
Title: Re: Setup Pne Master DNS zone for many CWP Server
Post by: CoriaWeb Hosting on February 11, 2020, 01:32:57 PM
We used it that way, I just couldn't tell you how they did it, we got out of trouble, we paid the CWP team to do it.

Now, any server we want to add, we simply perform a few steps that we were told to include the dns cluster and that's it.

The documentation is not very clear, so we opted for them to do it, so there is less chance of errors.

Greetings!
Title: Re: Setup Pne Master DNS zone for many CWP Server
Post by: rcschaff on February 11, 2020, 04:26:10 PM
You do not need CWP installed on a secondary server to host their cluster.  You also do not even need CentOS.  I set it up on a debian server using apache/php and got it working.  The key in most cases is having root access via either nginx or apache.

On Apache, I had to add
<IfModule mpm_itk_module>
    LimitUIDRange 0 6000
    LimitGIDRange 0 6000
</IfModule>
As PHP would not sudo without it.
Title: Re: Setup Pne Master DNS zone for many CWP Server
Post by: ghoste on February 12, 2020, 06:59:15 AM
I do not think you have understood what this is, strictly DNS manager (nameservers), I can use the same nameservers ns1 and ns2 on several servers with cwp pro and of course redundancy, if it fails ns1 to take ns2