Problems editing dns records on 98.0.8, Error: API failure: Zone is invalid:
Hi!
We are having problems adding, editing and deleting dns-records on one domain.
whm zone manager gives the error:
Error: API failure: Zone is invalid: Line 7502: :4dea:7502); Line 7503: :4dea:7503) at /usr/local/cpanel/Cpanel/ZoneFile/LineEdit.pm line 403.
The numbers displayed 7502: :4dea:7502 seems to be ipv6 addresses that are part of a subdomain hosted on another server(DC/AD), so the ipv6 addresses can't be found in the problematic Zone.
cpanel zone editor says:
Error: The request failed. (Error ID: emav49) Ask your hosting provider to research this error in cPanel & WHM"s main error log.
Named-checkzone complains about the ipv6 aaaa glue records for the subdomain but still ends with an OK
We are running PowerDNS
All other domains works fine.
-
Hey there! The named-checkzone command should give you a specific line number of the file that is causing the issue. As a test, you could try commenting out those lines to see if that resolves the problem, as that would confirm where the issue is. 0 -
Hello We are also having the same issue here. The error appears to come from the upstream parent " API failure: Zone is invalid: Line 29: ignoring out-of-zone data (.in-addr.arpa); Line 30: ignoring out-of-zone data (.in-addr.arpa); Line 31: ignoring out-of-zone data (.in-addr.arpa) at /usr/local/cpanel/Cpanel/ZoneFile/LineEdit.pm line 403. " being not accepted when this IS VALID and required for reverse DNS lookups Also because it's an interface and not the raw DNS we can't see or edit any part of any other DNS rule because of this error. Please fix. 0 -
For reference for anyone else who know's what they're doing and has access to server files, the raw DNS records can be found on /var/named/.db0 -
Hey there! The named-checkzone command should give you a specific line number of the file that is causing the issue. As a test, you could try commenting out those lines to see if that resolves the problem, as that would confirm where the issue is.
Rex, the new DNS interface doesn't show line numbers and doesn't enable commenting out of lines. Lines can be edited or deleted, except they can't be edited because if there is any issue at all on any part of the record according to the DNS Zone interface on WHM, then none of the edits are saved. Catch-22.0
Please sign in to leave a comment.
Comments
7 comments