SoftLayer Dns Domain::createMxRecord

From SoftLayer Development Network Wiki

Jump to: navigation, search

createMxRecord is a member of the SoftLayer_Dns_Domain service.

Contents

Overview

Create an MX record on a SoftLayer domain. This is a shortcut method, meant to take the work out of creating a SoftLayer_Dns_Domain_ResourceRecord if you already have a domain record available. MX records are created with a default priority of 10. createMxRecord returns the newly created SoftLayer_Dns_Domain_ResourceRecord_MxType.

User Access

Users wishing to execute createMxRecord service must have the Manage DNS permission assigned to their account.

Return Type

createMxRecord returns the SoftLayer_Dns_Domain_ResourceRecord data type.

Headers

Required Headers

createMxRecord requires the following headers:

Parameters

createMxRecord takes the following parameters:

host

The resource record's name

  • Type: string



data

The resource record's value

  • Type: string

See Also

External Links

Personal tools