Plesk for Linux gives you the ability to synchronize all the DNS records containing a predefined IP address with the server-wide DNS template. The synchronization is performed according to the following rules:
Note: Once DNS template changes are applied to a DNS zone, Plesk starts treating it as unaltered, that is, not modified by the user. Unaltered zones keep this status until somebody modifies them. After restoration, migration, or upgrade, all zones are treated as user-modified.
To retrieve the ACL of your name server, use the get_acl operation. This operation is available on Linux only.
A request XML packet synchronizing DNS zones with the template includes the sync-with-template operation node.
The graphical representation of the sync-with-template node is as follows:
dns_input.xsd
).The sync-with-template node of the output XML packet is structured as follows:
common.xsd
). This request packet synchronizes DNS records with the IP address 123.123.123.123 with the server-wide template.
<packet>
<dns>
<sync-with-template>
<filter>
<used-ip>123.123.123.123</used-ip>
</filter>
</sync-with-template>
</dns>
</packet>
Response:
<packet version="1.6.8.0">
<dns>
<sync-with-template>
<result>
<status>ok</status>
</result>
</sync-with-template>
</dns>
</packet>