mx
Type=MX. Mx record allows a company to have the same aliased name for its mail server and for one of its other servers (such as its web server).
By defining priorities in the MX record.
Round Robin
An MX record or Mail exchanger record is a type of resource record in the Domain Name System (DNS) specifying how Internet e-mail should be routed using the Simple Mail Transfer Protocol (SMTP). Each MX record contains a preference and a host name, so that the collection of MX records for a given domain name point to the servers that should receive e-mail for that domain, and their priority relative to each other.
domain.com. IN MX 10 mail.domain.com.MX record is used for mail server
MX records.
Whenever mail servers talk to each other, they look for MX records at the destination's DNS. When a DNS server is setup for a domain and that domain has mail capabilities, their DNS server will have at least one MX record to denote which server handles mail. The root DNS servers for the internet denote the addresses for the SOA (start of authority) DNS servers for a particular domain.
MX Resource RecordsThe mail exchange (MX) resource record specifies a mail exchange server for a DNS domain name. A mail exchange server is a host that will either process or forward mail for the DNS domain name. Processing the mail means either delivering it to the addressee or passing it to a different type of mail transport. Forwarding the mail means sending it to its final destination server, sending it using Simple Mail Transfer Protocol (SMTP) to another mail exchange server that is closer to the final destination, or queuing it for a specified amount of time. NoteOnly mail exchange servers use MX records.
Preference
Yes, it is possible for an organization's web server and mail server to have the same alias for a hostname, as long as they are configured to point to different IP addresses. This is commonly managed using DNS records. The type for the resource record (RR) that contains the hostname of the mail server would typically be an MX (Mail Exchange) record, which specifies the mail server responsible for accepting email messages on behalf of the domain.
The mail exchanger (MX) resource record specifies a server that is configured to act as a mail server for a DNS name. The mail server identified by an MX record is a host that either process or forwards mail for a DNS domain name. Processing the mail means either delivering it to the addressee or passing it to a different type of mail transport. Forwarding the mail means sending it to its final destination server, sending it by using Simple Mail Transfer Protocol (SMTP) to another mail exchange server that is closer to the final destination, or queuing it for a specified amount of time.----from Windows Server 2008 Active Directory Configuration (Exam 70-640) Lesson 4 - Configuring the DNS Server Role