localhost

Member
Mar 23, 2023
12
4
3
Indonesia
cPanel Access Level
Website Owner
Hello everyone,
I have 3 vps with configuration below:

vps1. WHM (dns1.xxx) IP: 123.45.67.8
vps2. WHM DNS Only (dns2.xxx) IP: 123.45.67.9
vps3. WHM as shared hosting (using dns1 & dns2) IP: 123.45.67.10

Problem is:
1. Cant add addon domain to vps3 (should enable allow remote domains, but it's insecure)
2. Have to manually add DNZ zone to vps1 if add a new domain in vps3
3. Is this the correct configuration as hosting service provider startup ?

Thanks
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,220
2,420
363
cPanel Access Level
Root Administrator
Hey there! We would need to know a bit more about the errors that happen with issue #1 to be able to help. What happens when you try to add a domain?

I don't understand issue number 2 completely. There should not be any interaction of DNS zones between vps1 and vps3 as they should all be served from the clustered nameserver on vps2 if that is properly configured. When you create an account or a DNS zone on the webserver, that will automatically sync the DNS over to the cluster machine. If that doesn't happen, the DNS cluster is not properly configured.
 

localhost

Member
Mar 23, 2023
12
4
3
Indonesia
cPanel Access Level
Website Owner
Hi...
I'll detail the configuration that I did.

vps1 as ns1.xx configured as cluster with dns role syncronize changes (active and working status)
vps2 as ns2.xx configured as a cluster with dns role stand alone (active and working status)
vps3 as shared hosting which is planned to accommodate several domains, connected to dns from vps1 and vps2.

I'm not sure the dns server is fully working properly, I only see the status is green tick and active.
 

localhost

Member
Mar 23, 2023
12
4
3
Indonesia
cPanel Access Level
Website Owner
Thanks for the clarification. With that configuration, I would expect a domain created on vps3 to show up on vps1 and 2 if the cluster is configured properly.
I had such an expectation, but no. I have to manually add new domains on vps1 & vps2.
does that mean the problem is in the cluster settings?
 

localhost

Member
Mar 23, 2023
12
4
3
Indonesia
cPanel Access Level
Website Owner
dnsadmin 4.0 entering server mode
[2023-03-29 22:27:59 +0700] info [dnsadmin] Recovering from dormant or doing hot restart listen fd=4
[2023-03-29 22:27:59 +0700] info [dnsadmin] Accepted connection on fd=5
[2023-03-29 22:33:02 +0700] info [dnsadmin] Switching dnsadmin to dormant mode: inactive for 5 minutes