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_entry

Overview: update_rdns_entry updates the rdns entry for the first useable IP address of the provided device to the provided value.

update_rdns_entry expects the following parameters:


  • ip_address – The IP address to update the rDNS entry entry for.
  • hostname – The desired value of the rDNS entry.

Example:

$params = array(
    'ip_address' => 192.168.0.5,
    'hostname' => "foo.bar.org"
);

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

Output:

Array
(
    [status] => 1
)