Convert Cloud to Master zone

This script allows you to convert your Cloud domains to Master DNS zones. You can download it from here.

Configuration

First thing you have to do after download it, is to setup your authentication parameters:

// Auth ID and Password
define("AUTH_ID", 0);
define("AUTH_PASS", "xxx");

AUTH_ID should be your API user ID and AUTH_PASS should be the password of your API user. For example, if your API ID is 190, instead 0 you have to type 190.

After that you need to list all the Cloud domains you wish to convert:

$masters = array(
'cloud-master1.com',
'cloud-master2.com',
);

In this example the domains which will be converted are cloud-master1.com and cloud-master2.com.

Usage

When you are ready with your configuration, you can run the script with the following command:

php convert-cloud-to-master-zone.php

Output

The script will output a list with the successfully converted Cloud domains. Also, it will list the Cloud domains, for which convert is failed.


Last modified: 2019-02-21
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more