Phil
| Date: 5 Jun 1996 14:09:24 GMT
| From: Phil Benchoff <benc...@ngw.cns.vt.edu>
| Reply-To: Phil Benchoff <benc...@bev.net>
| To: info...@uunet.uu.net
| Newsgroups: info.bind
| Subject: CNAME and other data
yes, a CNAME hides *all* data under the same label, and forces the
resolver to look up *everything* under the new label:
If you have:
thislabel IN CNAME thatlabel
thislabel ---CNAME------------>thatlabel A 2.3.4.5
hides the below: thatlabel TXT "thisisit"
thislabel A 1.2.3.4
thislabel TXT "unused"
Thus a lookup under (thislabel,TXT) will return "thisisit", and the
(thislabel,A) will return 2.3.4.5...
| Phil
|
Mathias Koerber | Tel: +65 / 471 9820 | mat...@singnet.com.sg
SingNet NOC | Fax: +65 / 475 3273 | Mathias...@pobox.org.sg
Q'town Tel. Exch. | PGP: Keyid: 768/25E082BD
2 Stirling Rd | 1A 8B FC D4 93 F1 9A FC BD 98 A3 1A 0E 73 01 65
S'pore 148943 | Disclaimer: I speak only for myself
* Eifersucht ist eine Leidenschaft, die mit Eifer sucht, was Leiden schafft *
PB> I get a number of "xxx has CNAME and other data (illegal)" messages
PB> when loading the database. I understand why an A or MX RR would be
PB> illegal, but the records in question are TXT. Is this really a
PB> problem?
Yes.
A CNAME record is a pointer to another place in the DNS. It points ALL
records asked for at its name to the "real" or canonical name.
If someone does a TXT query for that name, should it return the TXT record
you list, or the TXT record at the target of the CNAME (if any)? That
situation is ambiguous, and therefore prohibited.
Yes. Assume that I am a caching client. I send your server a CNAME
query for xxx.some.domain, and get the response:
xxx.some.domain IN CNAME yyy.some.domain
If at some later time, I decide to do a TXT query for xxx.some.domain,
I'll find the CNAME RR in my cache and just send your server a TXT query
for yyy.some.domain. I'll have no way of knowing that you have a TXT RR
belonging to xxx.some.domain.
--- Truck
> I get a number of "xxx has CNAME and other data (illegal)" messages
> when loading the database. I understand why an A or MX RR would
> be illegal, but the records in question are TXT. Is this really
> a problem?
>
> Phil
>
It applies to ALL types.
Mark
--
Mark Andrews, CSIRO Div Maths & Stats
Locked Bag 17, North Ryde, NSW 2113, Australia.
PHONE: +61 2 325 3148 INTERNET: ma...@syd.dms.csiro.au
MOBIL: +61 41 942 9884 UUCP:....!uunet!syd.dms.csiro.au!marka
No, but named is telling you that it's throwing away the "other data"
(in your case TXT records). Remove the TXT records associated
with aliases and named won't generate the error anymore.
--Dave