This function creates a new MX record.
Important:
When you disable the DNS role, the system disables this function.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ savemxs \ domain='example.com' \ name='mail.example.com' \ exchange='mail.example.com' \ preference='20'
{- "metadata": {
- "command": "savemxs",
- "reason": "Bind reloading on server1 using rndc zone: [example.com]\n",
- "result": 1,
- "version": 1
}
}