Problems editing dns records on 98.0.8, Error: API failure: Zone is invalid:

rasmusp

Registered
Sep 28, 2021
1
0
1
Finland
cPanel Access Level
DataCenter Provider
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.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,442
1,004
313
cPanel Access Level
Root Administrator
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.