gslb zone dns-mx-record

Configures a DNS Mail Exchange (MX) record for the zone.

dns-mx-record Specification

Type Collection
Object Key(s) mx-name
Collection Name dns-mx-record-list
Collection URI /axapi/v3/gslb/zone/{name}/dns-mx-record/
Element Name dns-mx-record
Element URI /axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}
Element Attributes dns-mx-record_attributes
Statistics Data URI /axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}/stats
Operational Data URI /axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}/oper
Schema dns-mx-record schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/gslb/zone/{name}/dns-mx-record/

dns-mx-record Attributes

Create List

POST

/axapi/v3/gslb/zone/{name}/dns-mx-record/

dns-mx-record Attributes

Get Object

GET

/axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}

dns-mx-record Attributes

Get List

GET

/axapi/v3/gslb/zone/{name}/dns-mx-record/

dns-mx-record-list

Modify Object

POST

/axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}

dns-mx-record Attributes

Replace Object

PUT

/axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}

dns-mx-record Attributes

Replace List

PUT

/axapi/v3/gslb/zone/{name}/dns-mx-record/

dns-mx-record-list

Delete Object

DELETE

/axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}

dns-mx-record Attributes

Get Stats

GET

/axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}/stats

stats data

Get Oper

GET

/axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}/oper

operational data

dns-mx-record-list

dns-mx-record-list is JSON List of dns-mx-record Attributes

dns-mx-record-list : [

dns-mx-record Attributes

mx-name

Description: Specifies the fully-qualified domain name of the mail server for the zone.

Type: string

Required: Yes

priority

Description: Specifies the order in which the mail server should attempt to deliver mail to the MX hosts. The MX with the lowest priority value has the highest priority and is tried first.

Type: number

Range: 0-65535

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

ttl

Description: Specify the MX record time to live in seconds.

Type: number

Range: 0-2147483647

uuid

Description: uuid of the object

Type: string

sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘hits’: Number of times the record has been used;

Type: string

Supported Values: all, hits

stats data

Counter Size Description
hits 8 Number of times the record has been used

operational data

Name Type Description
last-server string last-server