Create a secondary DNS record.


Create a secondary DNS record. The ‘‘zoneName’’, ‘‘masterIpAddress’’, and ‘‘transferFrequency’’ properties in the templateObject parameter are required parameters to create a secondary DNS record.


Name Type Description
templateObject SoftLayer_Dns_Secondary The SoftLayer_Dns_Secondary object that you wish to create.

Required Headers

  • authenticate

Optional Headers

  • SoftLayer_Dns_SecondaryObjectMask
  • SoftLayer_ObjectMask

Return Values

Associated Methods

Error Handling

  • SoftLayer_Exception_Public

Throw the exception “The master IP address is not a valid IP address.” if the supplied master IP address is not in a valid IPv4 format.

  • SoftLayer_Exception_Public

Throw the exception “The transfer frequency must be numeric.” if the transfer frequency is blank or not a valid number.