Update MX Records on a Host Using BIND (and the 'Named' Daemon)
1. Make a backup copy of the zone file (or named.conf) that you intend to edit for MX record updates.
2. Open the Zone file for the mail domain you are configuring (or go to the part of named.conf being used for that zone)
3. Delete all the existing “MX” lines for that domain.
4. Enter a new "IN MX" record with the lowest preference value and enter the FQDN of your preferred CSEG service domain.
CDAS primary service domains are:
- EU: mxpool1.spamgateway.comodo.com
- US: mxpool1.us.spamgateway.comodo.com
Assign a priority of 1 as this is your primary service.
5. Enter a new "IN MX" record with the next lowest preference value and enter the FQDN of your preferred CSEG service domain.
CSEG secondary service domains are:
Please note there is no secondary service domain for the US based service. Leave it blank.
Assign a priority of 2 as this is your secondary service.
6. Find the "@ IN SOA” record and increment the serial number (on the second line of the record).
7. Save the file and check it with named-checkconf.