Deleting MX DNS Records

The DelMX utility deletes MX record from the DNS zone /var/named/db.<zone> configuration file and the dns_records table of the Parallels Pro CP database.

Before taking any actions, make sure domain is active and not suspended.

Syntax

/usr/local/bin/DelMX 
-z|--zone
-d|--mxDomain
-s|--mailServer
-p|--pref

where

Note: Arguments mandatory for long options are mandatory for short options too.

Examples

DelMX -z test1.com -d test1.com -s antispam1.com -p 10

or

DelMX --zone test1.com --mxDomain test1.com --mailServer antispam1.com --pref 10

or

DelMX --zone=test1.com --mxDomain=test1.com --mailServer=antispam1.com --pref=10

or

DelMX -z test1.com -s antispam.com

or

DelMX --zone test1.com --mxDomain 123.test1.com -s antispam1.com