[ILUG] CNAME and MX record with the same name

Achim Dreyer adreyer at math.uni-paderborn.de
Sun Dec 18 13:47:14 GMT 2005


On Sun, 2005-12-18 at 13:21 +0000, 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:
> 
> @       3600    IN      A       1.2.3.4
> @       3600    IN      NS      ns1.wherever.com.
> @       3600    IN      NS      ns2.wherever.com.
> something  3600    IN      CNAME   @
> something  3600    IN      MX	99	 mail.wherever.com
> 
> because of the two something records. If instead there was
> 
> something  3600    IN      A       1.2.3.4
> something  3600    IN      MX	99	 mail.wherever.com
> 
> this would be fine.
> 
> 
> I can't find anything in Cricket to explain why this is, nor in e.g.
> http://www.ietf.org/IESG/Implementations/RFC1886-Implementation/ 
> DNSrecords.html
> but of course I might just be reading it all wrongly.

Hi Niall,

With your first setup something is just an alias(CNAME) for the zone.
I'm quite sure that the documentation mentions that you can't associate
any other RR with an alias.

-- 

Regards,
Achim Dreyer




More information about the ILUG mailing list