Bulk records update
With this script you can bulk update records. You can filter the records by "Type" and "Points to".
AUTH_ID should be your API user ID AUTH_PASS should be the password of your API user
In the $search variable you have to add the record type and record you are looking for. For example you can search for A records with IP address 184.108.40.206
In the $update variable you have to add the record you want to be set to the found records. For example you can update the found A records with IP 220.127.116.11 to 18.104.22.168
<?php // Auth ID and Password define("AUTH_ID", 0); define("AUTH_PASS", "xxx"); // search criteria $search = array( 'type' => 'A', // type of the records you want to update, mandatory field 'record' => '22.214.171.124', // current value of the records, mandatory field ); // what will be updated $update = array( 'record' => '126.96.36.199', // what record you want to be set on the found DNS records );
When you are ready with your configuration, you can run the script with following command:
The script will output all found records and status of the update.
If your API user ID or Password are incorrect, you will get an error message.
If any of the found records is not update, you will get an error message