LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] CNAME and MX record with the same name

[ILUG] CNAME and MX record with the same name

Stephen Shirley diamond at skynet.ie
Sun Dec 18 17:55:27 GMT 2005


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.

Steve
-- 
"You are technically correct, the best kind of correct." -- the web



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell