• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.
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