SymptomsWhen creating a Forwarding-only hosting package on a Plesk 11 node with both IPv4 and IPv6 IP addresses, the package is only assigned one IP address type: IPv4 or IPv6 address.
For example, suppose Plesk domain domain.tld uses both IPv4 and IPv6 addresses. When changing domain hosting to Forwarding via API, domain's DNS zone is updated with one IP address type - DNS records point to IPv4 or IPv6 address only.
Here is DNS zone of domain with IP_ADDRESSv4 and IP_ADDRESSv6 addresses whose hosting type was changed to Forwarding via API:
www.domain.tld. CNAME domain.tld.
ipv6.domain.tld. AAAA IP_ADDRESSv6
ftp.domain.tld. CNAME domain.tld.
mail.domain.tld. AAAA IP_ADDRESSv6
domain.tld. AAAA IP_ADDRESSv6
domain.tld. MX 10 mail.domain.tld.
IP_ADDRESSv6 PTR 64 domain.tld.
domain.tld. NS ns.domain.tld.
webmail.domain.tld. AAAA IP_ADDRESSv6
Where IP_ADDRESSv6 is domain’s IPv6 address. You may see DNS records pointing to IP_ADDRESSv4 address are missing. And vice versa: DNS zone may contain DNS records pointing to IP_ADDRESSv4 only.
CauseWhen updating hosting preferences of a Plesk domain to forwarding with both IPv4 and IPv6 addresses via API, only one IP address type is added into domain DNS zone: this may be IPv4 or IPv6 address.
ResolutionThe issue will be fixed in a future update of Parallels Plesk Panel that will be released after version 11.1. The hotfix for Parallels Plesk Panel version 11.0.9 is attached.
Install it on the Parallels Plesk Panel 11.0.9 server with the following command:
[firstname.lastname@example.org ~]# tar -zxf plesk11.0.9_hotfix129068.tar.gz -C /
[email@example.com ~]# chown root:root /usr/local/psa/admin/plib/api-rpc/AgentWebSpace.php
[firstname.lastname@example.org ~]# chmod 644 /usr/local/psa/admin/plib/api-rpc/AgentWebSpace.php