Here we will cover how to resolve the following errors from the Zone Editor/Zone Manager in cPanel or WHM:
Zone Editor Error - API failure: Zone is invalid: Line 56: TTL set to prior TTL (900) at /usr/local/cpanel/Cpanel/ZoneFile/LineEdit.pm
line 390.
WHM Zone Manager Error - (Error ID: t85tzu) Ask your hosting provider to research this error in cPanel
& WHM’s main error log.
This error occurs because one of the DNS records has a Time to Live (TTL) that is different from the rest of the records for the specific domain that is being worked on.
TTL is used to tell the DNS resolver how long to hold onto (cache) information before requesting new information. Changing this can push DNS to update, but ultimately, especially for email records, it's almost always best to leave it at the default cPanel value.
TTL has no major bearing on the quality of services, deliverability, or even resolving of the record, so changing it to fix this problem will not cause any other issues.
Related Article
Change DNS Records Using cPanel Zone Editor
Adjusting the TTL(s)
- Log into cPanel
- Open the Zone Editor, located in the Domains section
- Click Manage to the right of the domain having the issue
- Locate the record with a TTL different from the others
- Click Edit to the right of the record
- Edit the TTL to match with the TTL being used by other records
EXAMPLE: The records all have a TTL of 900, and the new record that was just added has it set to 9000. Change the new record's TTL to 900. - Click Save Record
- Click Edit to the right of the record