• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.
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