Server Update RDNS

From INAP Dropzone API
Revision as of 13:26, 6 April 2012 by Jcohen (Talk | contribs)
Jump to: navigation, search

The server update RDNS command allows the RDNS record of an assigned IP address to be updated. The details on how to view all current RDNS records using the API can be found on the view RDNS command page.

Contents

Path

  • /server/rdns/{$serverid}

Method

Availability

Required Data Parameters

  • {$serverid}: The server ID that is returned when using the list command.
  • {$rdns}: A JSON encoded array with all the RDNS records to be updated, this variable is sent via POST.

rdns={"IP_ADDRESS_HERE":"NEW_HOSTNAME_HERE","IP_ADDRESS2_HERE":"NEW_HOSTNAME2_HERE"}

Optional Data Parameters

  • None

Returned Data

stdClass Object(
  [success] => TRUE/FALSE
)
Personal tools