Search Engine: Elastic

Article ID: 122025, created on Jun 14, 2014, last review on Jun 14, 2014

  • Applies to:
  • Plesk Automation 11.5


DNS template contains a record, f.e.:

webmail.<domain>.   CNAME   <domain>.

The record is changed as follows:

webmail.<domain>.   A   <ip.webmail>

DNS template changes were applied, but were not propagated to the actual zones. New subscriptions have the old records as well.


Relations between DNS zones and template were broken for the particular record ID.


Remove the record from the template, and re-create it again as desired.

To fix the existing domains, use the below command:

mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -Ne"select,ip.IP_Address from domains d join DomainServices ds on and ds.type='web' join IpAddressesCollections ipc on ds.ipCollectionId=ipc.ipCollectionId join IP_Addresses ip on"|while read dom ip;do /usr/local/psa/bin/dns -res $dom -ip  $ip;done

It will re-built all the zones from template one by one and generate correct records.

33a70544d00d562bbc5b17762c4ed2b3 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF