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 All MX records stored before in the database (if you synchronize from DNS zone to database) or DNS zone (if you synchronize from database to DNS zone) will be removed.

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