[CentOS] mixing MX and CNAME

Mon Feb 25 16:43:10 UTC 2013
Robert Moskowitz <rgm at htt-consult.com>

On 02/25/2013 11:21 AM, Jerry Franz wrote:
> On 02/25/2013 08:06 AM, aurfalien wrote:
>> Hi,
>>
>> Has any one had problems with mail clients were your DNS is like this;
>>
>> doman.com	MX	50 mail.domain.com
>> domain.com	MX	100	mail2.domain.com
>>
>> domain.com	CNAME	www.domain.com
>>
>>
> The short answer is you can't do that and expect it to work because you
> can't mix CNAME and other types of records for a hostname. It is simply
> an invalid configuration at a DNS level.
>
> Read http://en.wikipedia.org/wiki/CNAME_record#Restrictions

Which is why most setups use an A RR for foo.com