- Plesk Onyx
How to switch DNS records automatically for subscriptions migrated via CLI?
In case of migration via CLI, DNS is not switched automatically.
The following command is an equivalent of Switch DNS GUI button:
C:\> "%plesk_dir%admin/bin/modules/panel-migrator/plesk-migrator set-dns-forwarding
On source server, it switches DNS zones of every migrated domain to slave mode and points master to target server. When the target server is tested and overall migration completes successfully, domain owners update configuration at their registrar companies to make them point to the target server directly.
Note: if config.ini file location is not standard "%plesk_dir%admin/var/modules/panel-migrator/conf, it should be specified in the command above as well.