How do I get all DNS records visible in the users zone editor?

Operating System & Version
Centos 7.9
cPanel & WHM Version
96.0.11

rhm.geerts

Well-Known Member
Jul 29, 2008
147
15
68
Maastricht
cPanel Access Level
Root Administrator
In the WHM zone manager, I can see all A and MX and CNAME records.
If I login as the user in a user account, and select "zone editor" then click "manage" next to the domain name then only MX and mail records are visible.
In the zone editor it is possible for the user to add A record and Cname record, but he can't see the ones which are already present, which i -can- see in WHM's zone manager.
This is creating a risk that a user will be making duplicate A or CNAME records.

How can this be fixed so the user can also see all his DNS records and not only the MX record?
 

rhm.geerts

Well-Known Member
Jul 29, 2008
147
15
68
Maastricht
cPanel Access Level
Root Administrator
Thank you @andrew.n

I don't have any advanced Zone Editor under the Feature manager. I got this already selected:
Zone Editor (A, CNAME, MX)
which suggests that A and CNAME records should be present alrealdy.

Then I have another one (not selected yet) I presume this will be the advanced one:
Zone Editor (AAAA, CAA, DMARC, SRV, TXT)
which suggests only enabling ipv6 AAA, CAA and DMARC, SRV and TXT records.

I have now enabled this and now I see all A records. But this seems a bug to me, as the first one already mentiones A and CNAME records, so they should already be shown when only selecting that one.
I don't like customers messing with CAA, DMARC and/or SRV and TXT records (like SPF). We rather do that for them. But they should be able to use A and CNAME, so in fact the first option should be working correctly.

Can cPanel fix this?
 

andrew.n

Well-Known Member
Jun 9, 2020
611
175
43
EU
cPanel Access Level
Root Administrator
Can you see if you disable Zone Editor (AAAA, CAA, DMARC, SRV, TXT) then CNAME,A and MX records also disappears?
 
  • Like
Reactions: cPRex

rhm.geerts

Well-Known Member
Jul 29, 2008
147
15
68
Maastricht
cPanel Access Level
Root Administrator
I do have root access to the system.
I made a small change to the DNS templates. On the mail, which was pointing to %domain% I changed that to mail.%domain% so every MX record will point to mail.domain.com on new user creation. But that wouldn't cause this issue would it?

I might submit a ticket for it, not sure yet. Primary support for this cPanel is Hetzner, don't I need to ask them first?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,923
912
313
cPanel Access Level
Root Administrator
As long as you have root access to SSH, you're welcome to contact us directly.

I wouldn't expect a template change to effect that behavior, but it would certainly be worth trying to reset that to see if it does change things. A smart person once told me never come up with reasons to not test something.
 
  • Like
Reactions: rhm.geerts

rhm.geerts

Well-Known Member
Jul 29, 2008
147
15
68
Maastricht
cPanel Access Level
Root Administrator
Yeah well, that is correct but in this case I rather not try that, because if the admin creates new accounts at that time, I don't know that always and I have to check all DNS values again.
I'm going to take it up with him, if he finds it worth to get this fixed I will create a ticket. Otherwise we leave it at the enhanced settings like it's now. Customers should not mess with values they don't understand anyway imho. :)