This script allows you to convert your Cloud domains to Master DNS zones. You can download it from here.
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.
When you are ready with your configuration, you can run the script with the following command:
php convert-cloud-to-master-zone.php
The script will output a list with the successfully converted Cloud domains. Also, it will list the Cloud domains, for which convert is failed.