• The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
Resource icon

Instruction A script to change the IP addresses of all hosts of a domain for migration 2.0

No permission to download
This tool updates domain DNS entries in PLESK in bulk.
To use it, simply specify the domain name, and the IP addresses of your (new) server.

New Version:
* Permits multiple IP addresses separated by commas (The first ip4 and ip6 are used for all records except SPF; all IP's are used for the SPF)
* Permits IPv6 addresses to be entered

To accomodate this change, a new parameter was added to the command line:

Usage: change-dns-records.rexx domain newip4[,newip4,...] [newip6,[newip6,....]] [OK]

If there is no ipv6 address, simply enter a single dot in its place.

Examples:
change-dns-records.rexx kalfaoglu.net 11.22.33.44,1.2.3.4 .
change-dns-records.rexx kalfaoglu.net 11.22.33.44 2a01:4f9:5a:105f:: OK
change-dns-records.rexx kalfaoglu.net 11.22.33.44 . OK


Omit the OK parameter first, to see what it will do.. running the script without the OK parameter shows the commands that will be executed, but does not execute them.
Back
Top