Did someone try to create a DNS Cluster server on Google Cloud?

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
Hello, Everybody :)

As you know Google cloud is unique and cPanel does not match 100% the DNS section if you using GCP:
https://support.cpanel.net/hc/en-us...our-Domain-for-Use-With-Google-Compute-Engine

As you see on the support page, need to copy all the records
to Google Cloud DNS if you won't use it ( is eligible only on the primary domain of the cPanel / WHM ).
_______________


1. So, I'm a little afraid, what about DNS Cluster?
the records and the zones synchronize from server to server. ( in my case i have 2 WHM servers i want cluster )
is will work? or i need now any time to add Google Cloud DNS to all the synchronize zones?

I didn't try yet, a little afraid now.
It is not something easy to fix if you didn't do it right. ( if you got wrong, you need to start deleting all the synchronized zones )

My question is:

If someone try the DNS Cluster server feature on Google Cloud and made it?
_______________


2. Another thing is DNS Cluster from WHM to WHM. ( No DNS ONLY ).

From what i see, docs relevant only for DNS only servers:
https://support.cpanel.net/hc/en-us/articles/360053742353-cPanel-DNS-Cluster-Guide

You maybe know another docomantion for people with 2 WHM?
I want a cluster from the server in the U.S to a Server in E.U (Both of them on GCP, and both of them mine, with 2 cPanel licenses).

Have some different operations that need to be done not detailed in any docs of cPanel?
FOR EXAMPLE:
WHM SERVER -> DNS CLUSTER -> DNS Only server | NEED ONLY SYNCHRONIZE ONE SIDE (WHM SYNCHRONIZE TO DNS ONLY) - docs said
WHM SERVER U.S -> DNS CLUSTER -> WHM SERVER EU | I need to synchronize in both of the servers? - not have any docs said what to do in this situation.

It's something very big and problematic, i need to be sure is possible.
It is not easy to fix if i got it wrong.

I prefer some advice from the professionals here, i sure have someone from the cPanel team cluster 2 WHM on Google Cloud.
be better to be sure, and get advice from someone actually made it.

Waiting for your help guys :)
Have a great day.
 

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
Why non cPanel server?
Both of the VM's are cPanel servers on Google Cloud Virtual Machines. ( to each machine have a License Solo - 2 Licenses )

i only want cluster them to each other. from whm to another whm.
 

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
I tried almost everything, i do not succeed to cluster between my 2 servers (whm/cpanel servers) not DNS ONLY.

:(

i try with cluster configuration and API TOKEN...

tried to do DIRECT LINKS as the menu said:


Direct link from server.locksmithunit.com:

server.locksmithunit.com ---------------------- ns1.locksmithunit.es
'
'---------------------------------------- ns2.locksmithunit.es


_____________________________________________________________________



Direct link from server.locksmithunit.es:

server.locksmithunit.es ------------------------- ns1.locksmithunit.com
'
'---------------------------------------- ns2.locksmithunit.com









I got "Access denied" error... dont know way, i whitelist the IPs in CSF.
chack my API TOKEN, even tried give him resaller privilege, nothing work on both of the servers when i try use the DNS Cluster.

maybe some combination i do wrong?
 

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
ok, i made it, i succeed to cluster the server but i do not succeed to do direct links... :(

when i try add to the cluster ns1.locksmithunit.com -> to -> server.locksmithunit.es

is change ns1.locksmithunit.com to server.locksmithunit.com... ( i think this because we use only one IP to each server and his nameservers )

_____________________

my other question is the:
Standalone

or

synchronize changes

for now, the cluster in both of the sides is "standalone" but i think is wrong.
they need sync on both of the directions no?

i ask that because i cluster WHM Server -> to -> another WHM Server (not OnlyDNS, both of the servers are full licensed WHM/cPanel)
 

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
ON Both my friend.
on both of the servers have websites and they need passing to each other.

Locations:
one server located in United State
and
one in E.U

Both of them are Licensed WHM/CPANEL. (2 Licenses)
I am not using the DNSOnly server.
in this situation, i need to "synchronize changes" in both of the servers right?

This screenshot of the section i meant with marks.
I believe you understand exactly what i mean and what i have:
https://ibb.co/Bsx5Z1r

Please @cPanelAnthony,
Only tell me what is recommended in this situation.
I think i need to change the "standalone" -> to -> "synchronize changes".
On both of the servers? correct?
 

Attachments

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
Ok,
I tried it. is synchronize good but i didn't see the ips cross servers as i expects :(

US:

Spain EU:

______

Now another question is if the DNS Cluster is a root user, does the API Key need to be ROOT as well? ( by default the checkmark is not marked )

from your experience need to provide root access?
or is not recommended? ( have big warning next to this chack mark, i belive cPanel did it for a reason )

NOW ANOTHER IMPORTANT THING,

AS I SAID ON GOOGLE CLOUD THE MAIN DOMAINS HOLD THE SERVERS NOT CONTROLLED BY CPANEL.
I AM AFRAID THE DNS CLUSTER IS NOT INDIVIDUAL AND NEED TO ADD THESE RECORDS INSIDE GOOGLE DNS AS WELL AS INSTRUCT HERE:
https://support.cpanel.net/hc/en-us...our-Domain-for-Use-With-Google-Compute-Engine

You must tell me if this doc's eligible on DNS Cluster as well, and need to add the new zones in each server inside Google Cloud DNS ( if you read you will see don't have another choice use Google Cloud without following this article. )

You must tell me if the DNS Cluster is an individual DNS server, or i actually need to follow this DOCOMANTION on DNS Cluster as well,
I recommended cPanel will add this in the support site as well, for the Google Cloud users.

_________________________________________________

For the final to organize the main subjects:

1. API Token for the DNS Cluster need root acsses? ( chack mark not mark by default, i said to my self cPanel did it for a reason, but maybe i wrong )

2. DNS Cluster is an individual DNS server cPanel creating, or i actually need to follow this DOCOMANTION if i use DNS Cluster as well:
https://support.cpanel.net/hc/en-us...our-Domain-for-Use-With-Google-Compute-Engine

3. If have some tool to check it be easier.

4. Why my tool not working and show the websites in the EU AND THE US after i did everything right with the DNS Cluster?
 
Last edited:

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
OK, Another thing i suspect ( after you read my old message ) it's:

  • WHM » Server Configuration » Basic WebHost Manager® Setup
I suspect maybe need to add the 2 nameservers from each server to another.
I'm not sure this way i asked.

I think that because this creates a Zone in DNS ZONE MANAGER on each server.
but the nameserver is still matching the original server.

For example, screenshot from server.[redacted].com:
[redacted]

And the same thing in server.[redacted]es:
[redacted]


Now, i think need to add in each server the other "NS"
in total each server will be with 4 records.

I don't know if this is what needs to be, this is why i asking you,
if you read my first previous message, you will see i use the tool.
This tool see if the IP forwarding properly to the server location, then i can know the DNS cluster works or not.

But as you see in my previous message ( the 2 links of the tool on each location ):

you can see the servers not cross to each location, it's mean:
______________________

[redacted]- > Located in Zurich EU

DNS Cluste
r ------> [redacted]

server.locksmithunit.com -> Located in S.Carolina US

DNS Cluster
------> [redacted]
______________________


The tool ( the link i sent you ) needs to show these 2 locations in
both of the servers and all the websites hosted on these servers.
but,
for some reason,
it's not working when i am running the tool... :(
This is why i suspect the DNS Cluster does not work properly.

Maybe, i did some mistake
or
I am missing something in the DNS cluster configuration.
( maybe the NS1 & NS2 of each server in WHM > Basic Configuration interface )


@cPanelAnthony help me only with this time,
and i promise you will never and ever hear from me again.
(It's the last thing i left to do on my servers)
Please help me finish it properly.
 
Last edited by a moderator:

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
Please, someone?
answer me if only need to add to each server after the Clustering is complete:

  • WHM » Server Configuration » Basic WebHost Manager® Setup

and add in each server the name server as well?
I noted in my previous message. please if it's possible help me only with that.

Thank you @cPanelAnthony
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,041
112
118
Houston, TX
cPanel Access Level
Root Administrator
Hello! My apologies, we're not able to let you provide identifying information such as server hostnames. Due to the amount of assistance required to get the cluster working, I would highly suggest reaching out to a systems administrator for assistance.

 

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
Are you serious? I tell you all this time + screenshots the DNS cluster is working.

I only asked you:
if is recommended to add the nameservers ( 4 NAMESERVERS IN TOTAL AFTER THE CLUSTER IS ON )
in the basic configuration inside WHM,,,
that all.

but i got you, any question i asked, you try to avoid me, so i believe we didn't understand each other, btw this is a procedure of the panel clustering.
don't have any SSH or special configuration,
btw the people who offer themself on the link you provide, 60% are scammers, i hire 2 times from there, and they scam me...

and again, it's a procedure of DNS Clustering and not a special configuration as you claimed.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
There's no reason you couldn't add the nameservers in WHM. That option in the server is not related to the cluster, but just controls what nameserver records get written to newly-created DNS zones on that particular webserver.
 

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
I think is a little bit more than that:

and


as you see they not showing the same locations... ( they should after the DNS Clustering )

I suspect need to add them to the WHM>BASIC CONFIGURATION

but i don't know what the will be the result... ( i tried to achieve the location test will be identical between the servers - if it's possible of course ).

I remember a long time ago, when i was able to respond in the support, one of the agents told me to do it.
but now i a little afraid ( is was a long time ago, and i try to stick how much i can to the default cPanel ).

So what do you say cPRex?
have the option to get what i want if i will add the nameserver's to each WHM ( 4 NAMESERVERS IN TOTAL EACH SERVER - POINTING TO EACH OTHER )
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
I can't say for sure about the location - the IPs are on separate networks on the Google Cloud platform, so there's no reason they couldn't originate from different countries.

Adding them to WHM is a good idea for sure, as it will keep your DNS zone information consistent, but I don't think it will take care of that issue. If you don't think the location showing up is correct, it might be worth talking to Google Cloud support to see if they have more thoughts on the network configuration.
 

nadav123

Well-Known Member
Mar 2, 2020
159
18
18
Orlando, FL
cPanel Access Level
Root Administrator
These guys... believe me is better not to talk with them.
I really don't know where GCP hires these guys...
have an option on the Google Cloud (you right cPRex).

but i tried didn't try it via GCP for 2 reasons:

1. Little problem with cPanel and Google Cloud DNS.
2. Its costs money... GCP Nothing is not free and it's actually expensive ( but performance talking by themself, it's worth it ).

If you said we will not achieve the same test in both of the servers, it's not worth it.
I will keep it as it is.

Thank you very much cPRex i appreciate it :)

btw last thing.
if in the past there were some issues with the support ticket agent, have a way to get forgiveness? huh :)
I believe i got blocked there, tried to reach them from here but no luck.

have a way to discuss on my situation? and maybe unblock me? ( its was a long long time ago, it will not happen again i can assure you. )