Setup a DNS wilcard and MX record in the same zone
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 my from some internet providers.
mail.gestixi.com needs to be an A record, instead of getting caught by the wildcard CNAME.
If it’s on that same server, then just give it an A record:
mail IN A 91.121.39.211
I’m not sure how strictly relays actually enforce this part of the standard, since it just causes some extra lookups, but it’s better to be on the compliant side!
Check more discussion of this question.
Related posts:
- How to set up the CNAME in DNS zone record to work with Unbounce
- What happens when I change a Name Server record or an A record in the Zone file or the DNS settings?
- Is it possible to have regular-expression CNAME record in DNS?
- CNAME : how to setup DNS to return A record based on website?
- DNS: Subdomains that Require Both an MX Record and a CNAME
Leave a comment
Recent Posts
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?
Tags
active-directory
amazon-ec2
apache
apache2
backup
bash
centos
cisco
command-line
debian
dns
email
exchange
firewall
iis
iis7
iptables
linux
macosx
monitoring
mysql
networking
nginx
performance
permissions
php
postfix
raid
security
sql-server
sql-server-2005
sql-server-2008
ssh
ssl
ubuntu
unix
virtualization
vpn
webserver
windows
windows-7
windows-server-2003
windows-server-2008
windows-server-2008-r2
windows-xp





