Author Topic: Setup NS to have CWP handle all DNS  (Read 5381 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Setup NS to have CWP handle all DNS
« on: March 12, 2019, 09:49:21 PM »
Hello,

I'm new here, also new to CWP, comming from WHM/cPanel. So I'm setting up a new server for testing in DigitalOcean.

In WHM I always use the server as the NS for my domain, and then all other domains point to ns1.SERVERDOMAIN.com and ns2.SERVERDOMAIN.com. This way, all DNS management is done in WHM and in each user cPanel, no more going to each registrar to change things. So to do this in CWP this is how I've been trying, but having some issues:

  • New Centos VPS in Digital Ocean
  • Set vps.SERVERDOMIAN.com as hostname, update centos and install CWP
  • On GoDaddy, go to Manage DNS, then hostnames and add ns1 point to DigitalOcean vps IP, also add ns2 and point to the same IP (coul add second IP, but for testing should not matter)
  • Also in GoDaddy ensure nameservers are changed to ns1.SERVERDOMAIN.com and ns2.SERVERDOMIAN.com
  • Then go to CWP IP:2087, login and start configuring, set admin e-mail, change NS to ns1.SERVERDOMIAN.com and ns2.SERVERDOMAIN.com
  • Add new account for serverdomain.com (where I will host a website and e-mail)
  • Add other account for clientdomain.com and tell client to change NS to ns1.SERVERDOMAIN.com and ns2.SERVERDOMAIN.com
  • Use panel to add wesites and e-mail accounts just as usual (like in cPanel), manage any DNS records from there (most are preconfigured by CWP, like webamil, ftp, spf, dmarc, etc.)

However, after doing all this, DNS is not resolving correctly, if I go to admin CWP and go to DNS, list DNS zones, I check the zones and they are not resolving correctly, in fact, most of them are not being LOADED because of this.

It has been more than 8 hours since I did all the NS changes in GoDaddy, which in my experience is more than enough for the DNS propagation to occur, maybe I should wait the full 48 hours, but while I wait, I would like to confirm if my configuration above is correct.

What do you think? Any suggestions or better ways to do it?

Offline
***
Re: Setup NS to have CWP handle all DNS
« Reply #1 on: March 13, 2019, 03:04:23 AM »
Seems you will need to repair manually your zone file.
Post it here, if you need help.
They are in '/var/named' directory.

Regards,
Netino