Is it possible to point an MX record to an Alias ( CNAME )?


As stated in the IETF (Internet Engineering Task Force) RFCs (Request for Change), it is not permitted to point an MX record to an alias/ CNAME.


Go to http://www.ietf.org/rfc/rfc0974.txt for more information on Mail Routing and Domain system RFC.

 

Example: the following DNS records are not correct:

foo.example.com. A 192.168.0.10
mail.example.com. CNAME foo.example.com.
example.com. MX 10 mail.example.com. ; WRONG: "mail" is already a CNAME

However, you can solve the problem by creating a second A record for mail.example.com and by referring to the IP address of your incoming mail server:

foo.example.com. A 192.168.0.10
mail.example.com. A 192.168.0.10
example.com. MX 10 mail.example.com. ; OK

Click here for more information on the creation of A/MX records.

 
 



Article Number: 1340
Posted: Mon, Nov 23, 2009 1:55 PM
Last Updated: Tue, Aug 1, 2017 1:59 PM
Posted: Nick Corne [nick.corne@hostbasket.com]

Online URL: https://onlinehelp.cloud.telenet.be/article.php?id=1340