DNS
Domain Management
Return domain's mail exchanger records
This function lists a domain's MX records.
Important:
When you disable the DNS role, the system disables this function.
get/listmxs
Query parameters
domainstring domain required
Example:example.com
The zone record's domain.
Response
HTTP Request was successful.
Example response
{
"data": {
"record": [
{
"Line": 1,
"class": "IN",
"exchange": "mail.example.com",
"name": "hostname.example.com",
"preference": 20,
"ttl": 86400,
"type": "MX"
}
]
},
"metadata": {
"command": "listmxs",
"reason": "Records obtained.",
"result": 1,
"version": 1
}
}