Use of 'MX' record in DNS

 

 

  An 'MX' record or mail exchange record maps a domain name to a list of mail exchange server for that domain.

 eg:

  mydomain.com. 14400 IN MX 0 mydomain.com.

  The 'MX' record shows that all emails @mydomain.com should be routed to mailserver mydomain.com. 

 Using multiple 'MX' record syntax

     If you want to use multiple mail servers you have to use MX record preferences.The MX record preference values indicate which mail server to use and in which order to try them when they fail or don't respond. A larger preference is less prefered. Thus a mail exchanger with a preference of zero(0) is always prefered over all other mail exchanger. Setting preference values to equal numbers make mail servers equally prefered,

eg :

   mydomain.com. 14400 IN MX 0 mydomain.com.

   mydomain.com. 14400 IN MX 30 server2.mydomain.com.

 

  • 22 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

How to generate an SSH key in linux?

        To generate an ssh key in linux you have to execute the command...

How to install ClamAV antivirus from a source code?

    Download the clamAV source from http://www.clamav.net.The latest version is...

Steps to install BFD(Brute Force Detection). using source code

  BFD Brute Force Detection is a modular shell script for parsing applicable logs and...

How to backup a data base in linux through mysql command ?

       If you want to take the backup of a database, follow these steps...

How to restore a database through mysql command ?

           If you want to restore a database, you have to follow...