Failed to parse DNS zone (at or after line 29): Syntax error,

Jeromero

Active Member
Aug 6, 2019
38
5
8
Johannesburg , South Africa
cPanel Access Level
Website Owner
I have just realized that I cannot access Zone Editor on all domains in WHM / cPanels.
I get an error:

Failed to parse DNS zone (at or after line 29): Syntax error, could not parse the RR's rdata at /usr/local/cpanel/Cpanel/ZoneFile/Parse.pm line 229.

Enviroment:
CENTOS 7.9 [****] WHM version v96.0.11

What can be done to resolve this issue?
 

Jeromero

Active Member
Aug 6, 2019
38
5
8
Johannesburg , South Africa
cPanel Access Level
Website Owner
Could you submit a ticket to our team? I would have expected this issue to be resolved, so if you're still seeing this we'd like to take a look.
I am hiring the server from the reseller and having unmanaged server.
I have wrote them a ticket about if they can submit the support ticket but still have not heard from them.
Is there another way I can submit the ticket without login details for cPanel at cPanel ID ?
 

Jeromero

Active Member
Aug 6, 2019
38
5
8
Johannesburg , South Africa
cPanel Access Level
Website Owner
In order to contact our support team you would need root access to the system over SSH. If you don't have that level of access it would be best to reach out to your hosting provider for more assistance.
I do have a root access for the server. But don't have license number for cPanel - they have it.
Can I open the support ticket with cPanel?
 

Manlord

Registered
Jan 5, 2022
1
0
0
South Africa
cPanel Access Level
Root Administrator
Thanks for taking care of that - one of our technicians found an issue with the DNS zone syntax as part of a cluster configuration, and gave you some additional steps you could follow in the ticket.
Hello I'm having a simmilar issue with simmilar error would you please advise how to resolve this error

API failure: Failed to parse DNS zone (at or after line 38): Syntax error, could not parse the RR's rdata at /usr/local/cpanel/Cpanel/ZoneFile/Parse.pm line 228.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,261
2,432
363
cPanel Access Level
Root Administrator
@Manlord - can you try running this command on the affected DNS zone to see if that shows any odd issues?

Code:
named-checkzone domain.com /var/named/domain.com.db
That will check the validity of the DNS zone and make sure that area of the system is working well. If that doesn't show anything odd, it might be best to have our team check the system directly through a support ticket.