With this script you can configure an automatically notification to your e-mail for low number of available DNS zone slots in your account. You can download it from here.
AUTH_ID should be your API user ID AUTH_PASS should be the password of your API user
In the $mail_notification_from variable you have to add the e-mail address from which will be send the message
In the $mail_notification_to variable you have to add the e-mail address to which will be send the notification message
In the $available_zones_limit variable you have to add the limit for available zone slots when you want to receive a notification
// Auth ID and Password
$mail_notification_from = 'firstname.lastname@example.org';
$mail_notification_to = 'email@example.com';
$available_zones_limit = 100;
When you are ready with your configuration, you can run the script with following command:
If your API user ID or Password are incorrect, you will get an error message.
You can add this script as a daily cron job on your server. Example:
0 9 * * * /usr/bin/php available-zones-notification.php >/dev/null