API Docs

This functionality of the Ubiquity API has been disabled. Looking for information on this transition to LeaseWeb? Click here for answers to FAQs and here for information on the LeaseWeb customer portal. Click here for information about the Leaseweb API.

Get to know update_rdns_entries

Overview: update_rdns_entries updates multiple rdns entries, each with the first useable IP address of the provided device to the provided value.

update_rdns_entries expects the following parameters:


  • entries - A key-value array list of ip_addresses and hostnames

Example:

$params = array(
    'entries' => array(
        '192.168.0.5' => "foo.bar.org1"
        '192.168.0.6' => "foo.bar.org2"
        '192.168.0.7' => "foo.bar.org3"
);

$api->call('dns.update_rdns_entries', $params);

Output:

Array
(
    [status] => 1
)