MX records

Sections

    A mail exchanger record (MX record) specifies the mail server responsible for accepting email messages on behalf of a domain name. It is a resource record in the Domain Name System (DNS). It is possible to configure several MX records, typically pointing to an array of mail servers for load balancing and redundancy.

    Resource records are the basic information element of the Domain Name System (DNS). An MX record is one of these, and a domain may have one or more of these set up, as below:

    Domain			TTL   Class    Type  Priority      Host
    example.com.		1936	IN	MX	10         onemail.example.com
    example.com.		1936	IN	MX	10         twomail.example.com
    

    The characteristic payload information of an MX record[1] is a preference value (above labelled “Priority”), and the fully qualified domain name of a mail server (“Host” above).

    The priority field identifies which mail server should be preferred – in this case the values are both 10, so mail would be expected to flow evenly to both onemail.example.com and twomail.example.com – a common configuration. The host name must map directly to one or more address records (A, or AAAA) in the DNS, and must not point to any CNAME records.[2]

    When an e-mail message is sent through the Internet, the sending mail transfer agent (MTA) queries the Domain Name System for the MX records of each recipient’s domain name. This query returns a list of host names of mail exchange servers accepting incoming mail for that domain and their preferences. The sending agent then attempts to establish an SMTP connection, trying the host with the lowest “Priority” value first. The system allows high-availability clusters of mail gateways to be built for one domain if necessary.[3]

    The MX mechanism does not grant the ability to provide mail service on alternative port numbers, nor does it provide the ability to distribute mail delivery across a set of unequal-priority mail servers by assigning a weighting value to each one.

    For further details, kindly navigate to http://en.wikipedia.org/wiki/MX_record

    Related Articles

    in WHMCS Tags: MX recordsWHMCS
    Did this article answer your question?