Dns_Domain
SoftLayer_Dns_Domain::createMxRecord

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.

Parameters

host

string

The resource record's name
data

string

The resource record's value
ttl

integer

The resource record's time-to-live value.
mxPriority

integer

The priority this MX record has for mail delivery. Lower priority MTAs are contacted first.

Headers

Optional Headers: 
SoftLayer_ObjectMask
Required Headers: 
SoftLayer_Dns_DomainInitParameters