Symptoms
You may encounter the following error in your zones when running the parse_dns_zone API call, or any similar action:
# whmapi1 parse_dns_zone zone='domain.tld'
---
metadata:
command: parse_dns_zone
reason: "API failure: Failed to parse DNS zone (at or after line 31): Syntax error, could not parse the RR's rdata at /usr/local/cpanel/Cpanel/ZoneFile/Parse.pm line 229.\n"
result: 0
version: 1
Cause
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-37128. Follow this article to receive an email notification when a solution is published in the product.
Resolution
- Log in to WHM as the
rootuser. - Navigate to Home / DNS Functions / DNS Zone Manager.
- Click Manage on the DNS Zone you need to update.
- Change the TTL value on any entry, and save.
- Change the TTL back if desired.
- The error should no longer occur.
Comments
0 comments
Article is closed for comments.