plesk repair db should fix dns_zone table
To improve "plesk repair" utility so that it should be able to remove orphaned records from database's tables dnszone and dnsrecs, for domains that doesn't exist anymore.
Additional information: https://support.plesk.com/hc/en-us/articles/213374109-Unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-DNS-record-already-exists?source=search
Thank you for your input! We will consider this functionality in upcoming releases if it will be popular. Everyone, please continue voting for this feature if you consider it important.