With this script you can export your Master DNS zones at ClouDNS. You can download it from here.
AUTH_ID should be your API user ID AUTH_PASS should be the password of your API user.
ZONES_DIR is the directory, where all DNS zones will be exported (e.g. /home/username/zonefiles)
// Auth ID and Password
// the directory where the zone files will be stored
When you are ready with your configuration, you can run the script with the following command:
The script will output a list with exported DNS zones.
If your API user ID or Password are incorrect, you will get an error message.
You can add this script to be executed each first day from the month. Example:
0 0 1 * * /usr/bin/php /path/to/php dns-zone-files-export.php >/dev/null