CNAME records coexistence with other RR's

Barry Margolin barmar at bbnplanet.com
Tue Nov 30 15:20:54 UTC 1999


In article <38438CC7.C6D1FED0 at hk.china.com>,
Edmund  <c990077 at hk.china.com> wrote:
>Well, might be multiple-cnames in
>http://www.isc.org/products/BIND/docs/config/options.html

The multiple-cnames option has nothing to do with this.  He doesn't want
multiple CNAME records, he wants a CNAME with other data.  This is
expressly forbidden by the DNS specification, and BIND no longer allows it.

>Yusuf G wrote:
>
>> Hi, I have a situation where I want to create a CNAME record
>> mail.foo.com pointed to machine1.some.other.domain
>> Also, I want a MX record to mail.foo.com pointing to machine1.some.other.domain
>>
>> Basically, I want to setup a test web-based email system. According to
>> RFC 2181 and RFC 1912 A CNAME record is not allowed to coexist with any other
>> +data. Does any body have any suggestion as to a workaround for this. I don't
>> +want to add a A record for mail.foo.com to allow for flexibiltiy in moving its
>> +target machine

Sorry, that's the way it is.  If a name has a CNAME record, it means that
it's simply a synonym for the target name.  What you're asking for would be
like creating a symbolic link on Unix and then trying to have different
data in the link versus the target file.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list