• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Problems with DNS when creating Domain Alias

mburtscher

New Pleskian
Let's say I have a domain x.com configured including the subdomains a.x.com and b.x.com. Now I want to create a domain alias x.net for x.com using Plesk Panel. I get this error:

Error: Unable to restore the DNS zone: an error occurred while adding the a.x.net. IN A 11.11.11.11 record: DNS record already exists.

Removing subdomain entry

When I remove the original DNS entry for a.x.com from the original domain and then try to create the domain alias, I get the same error with the other subdomain b.x.net.

Existing domain aliases

I have an existing domain alias x.org (the whole domain was migrated from Plesk Panel 9.x) working. When I try to remove x.org as domain alias and add it again, I get the same error.

Solutions from the Knowledge base

I found a lot of entries in the forum regarding this issue but no solution. The only solution is mentioned in KB1365. I searched the mentioned table dns_recs for the domain x.net but found nothing (domain has definitely never been added to Plesk before). I also created a dump of the whole psa database and grep'd for x.net. I could only find entries in the exp_event table.

Looking for an incorrect zone in /var/named/run-root returns no results for neither the new domain (x.net) or the re-added domain alias (x.org).

Summary

  • Error DNS record already exists. when creating a domain alias.
  • Definitely no entries in the psa.dns_recs table.
  • Definitely no invalid zone files in /var/named/run-root

What can I do as a next step?
 
You can find zone files in /var/named/chroot/var/ but not in /var/named/run-root
 
As I mentioned in my original post, domain x.com was migrated from Plesk 9.5 to Plesk 11. During this operation subdomains have been converted to the same level as domains, e.g. they have own DNS records too.

While performing this operation, Plesk migrator seems to have imported DNS entries for subdomains twice. Once for main domain, once for the subdomain. So i can find all DNS records for subdomains twice in Plesk:

x.com
> A something.x.com
something.x.com
> A something.x.com

Now I removed all A-records for subdomains from the main domain (the ones in the subdomain section have not been touched) like it should work in Plesk 11. Now I can create domain aliases for x.com again.
 
Back
Top