Niall O Broin wrote:
> It seems that you cannot have a CNAME and MX record with the same name
> in a zone e.g. this is an illegal zonefile extract:
Yes, it is illegal. If you have a CNAME for a name, you cannot have any
other type of record. Here's an attempted explanation why:
What people think CNAME does:
Given $name, try look up an A record, if no A record found, try lookup a
CNAME. If a CNAME record is found, lookup an A record for what it points to.
What CNAME actually does:
When looking up _any_ record for $name, if a CNAME is found, look up the
same type of record for what the CNAME points to instead.
That's why you cannot have a CNAME for $name as well as an A, MX, SOA,
or any other type. Hope that helps.
"You are technically correct, the best kind of correct." -- the web
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!