dns configuration in cloudfare

JohnInfinito

Registered
Jan 25, 2022
1
0
1
Colombia
cPanel Access Level
Website Owner
Good, you can configure the hostname of WHM and CPANEL example hosname.example.com:2087
in cloudfare as CNAME record and not as A record

another question when adding the nameserver of my VPS WHM
that must be with A record or CNAME
on the server I'm on WHM I get two different addresses.
I must add the records like this to cloudfare:

To ns1.example.com 45.234.0.1
To ns2.example.com 45.234.0.1

or should I add the IP addresses that WHM gives me in the hostname
which can be ns1 65.34.21.1 and ns2 10.23.4.1

WHM in your dns zone has record type NS
that is not added to cloudfare
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
9,796
1,530
313
cPanel Access Level
Root Administrator
Hello there! I'm not completely sure I understand the question, but nameservers will always need to be an A record so they properly respond in DNS.

I can't speak for Cloudflare, so if you have questions about how they expect things to be configured it would be best to contact them directly.