Setup a DNS wilcard and MX record in the same zone

Posted by Nicolas BADIA on Server Fault See other posts from Server Fault or by Nicolas BADIA
Published on 2012-06-06T15:37:25Z Indexed on 2012/06/06 16:42 UTC
Read the original article Hit count: 551

Filed under:
|
|

I'd like to know how to configure my DNS to be able to use a wildcard for my domain and an MX record together. Here is what I've done:

@   IN SOA dns100.ovh.net. tech.ovh.net. (2012052100 86400 3600 3600000 300)
              IN  NS     ns100.ovh.net. 
              IN  NS     dns100.ovh.net. 
              IN  MX 1   mail.gestixi.com. 
              IN  A      91.121.39.211 
*             IN  CNAME  gestixi.com. 
www           IN  CNAME  gestixi.com. 

The problem is that when I check my DNS, I get this error:

MX records shall not point to an alias defined by a CNAME

Because of this error, it look like I can't send mails from some internet providers.

© Server Fault or respective owner

Related posts about dns

Related posts about mx