Bulk Records Update

With this script you can bulk update records. The script allows you to filter the records by "Type" and "Points to". You can download it from here.

Configuration

First thing you have to do after download it, is to setup your authentication parameter:

// Auth ID and Password
define("AUTH_ID", 0);
define("AUTH_PASS", "xxx");


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 includes searching criteria and action values.

// search criteria
$search = array(
'type' => 'A',
'record' => '1.2.3.4',
);
// what will be updated
$update = array(
'record' => '4.3.2.1',
);


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 1.2.3.4

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 1.2.3.4 to 4.3.2.1

Usage

When you are ready with your configuration, you can run the script with the following command:

php bulk-records-update.php


Last modified: 2019-02-21
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more