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 host name as “mx101.everycloudtech.com” for the primary mail server.

  5. Enter a new “IN MX” record with the next lowest preference value and enter the host name as “mx102.everycloudtech.com” for the secondary mail server.

  6. Enter a new “IN MX” record with the next lowest preference value and enter the host name as “mx103.everycloudtech.com” for the secondary mail server.

  7. Enter a new “IN MX” record with the next lowest preference value and enter the host name as “mx104.everycloudtech.com” for the secondary mail server.

  8. Find the "@ IN SOA” record and increment the serial number (on the second line of the record).

  9. Save the file and check it with named-checkconf.

  10. Restart the 'named' daemon.