• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Apply DNS template to all domains

mooiesite

Basic Pleskian
Im testing migration from plesk 9.5.4 to 11
After migrating domains these new domains have a combination of old dns template and new one.

When i try to apply the new dns template to all migrated domains i get the following choice:

1. Apply the changes to unaltered zones. If a zone was customized (new records were added or existing ones were changed), Panel will not apply the changes from the template to such zones.

2. Apply the changes to all zones. Panel will apply changes from the template to all DNS zones including the customized ones. Note that user-modified records always remain intact. For example, if the template contains a new record that was already added by a customer, Panel will keep the customer's record.


Im actually missing option 3. Delete all old records (including user-modified records ) and apply the new template to all zones/domains, no matter what :)

Anyway of achieving this? (sql is ok)
 
Last edited:
Have you seen output of # /usr/local/psa/bin/dns --help command? I think that you can find there many interesting.
 
Im actually missing option 3. Delete all old records (including user-modified records ) and apply the new template to all zones/domains, no matter what :)
You can restore DNS zone with button Restore Defaults on the DNS zone page.
or use --reset command of the /usr/local/psa/bin/dns utility:
--reset or -res <domain_name|domain_alias_name>
Restores the default DNS zone by the
template
 
Back
Top