With this script you can update the SOA information for all your zones. The script can be downloaded from here.
First thing you have to do after download it, is to setup your authentication parameters:
// Auth ID and Password
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.
The second part of the script allows you to edit the SOA setting, which will be updated for all of your zones:
$soa = array(
'primary-ns' => 'pns1.cloudns.net',
'admin-mail' => 'email@example.com',
'refresh' => 7200,
'retry' => 1800,
'expire' => 1209600,
'default-ttl' => 3600,
That is all you need to modify. There is no need to change anything else.
When you are ready with your configuration, you can run the script with the following command:
The script output will show you the count of the zones that are updated and also the count of the failed updates.Last modified: 2019-02-21