Synchronizing MX DNS Record

The SyncMX utility synchronizes MX record between the DNS zone /var/named/db.<zone> configuration file and the dns_records table of the Parallels Pro CP database. You can choose between synchronizing MX DNS records from database to DNS zone or otherwise. Mind that when you synchronize from database to DNS zone, all MX records stored before in DNS zone will be removed. And vice versa, when you synchronize from DNS zone to database, the MX Records will be removed from the database.

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

Note: Only one option can be used at the same time: zone2db or db2zone.

Syntax

/usr/local/bin/SyncMX
-z|--zone
-Z|--zone2db
-B|--db2zone

where

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

Examples

SyncMX -z test1.com -Z

or

SyncMX -z test1.com -B

or

SyncMX --zone test1.com --zone2db

or

SyncMX --zone=test1.com --db2zone

or

SyncMX -z test1.com --zone2db