Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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

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 to


// 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' => '',	// current value of the records, mandatory field

// what will be updated
$update = array(
	'record' => '',	// 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:

php bulk-records-update.php


The script will output all found records and status of the update.

Possible problems

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

ClouDNS Links

You can’t perform that action at this time.