a cname too much

"Schwarz" <[email protected]> Mon, 6 Sep 2010 16:34:00 +0200
Newsgroups gmane.network.djbdns
Organization Power-Netz
Message-ID <F78A82ABBCA345C88DDB6685E1769849@pnschwarz>
Hello everyone,

i have a small problem to understand why tiny is answering with an
unwanted record,
and please, no flames about cnames. It's a customers record. That's life
;)

This is our zone ( domainname changed, but reachable for tests )

@tinydnstestzone.org::tinydnstestzone.org:::
&tinydnstestzone.org::ns4.nsentry.de::
.tinydnstestzone.org::ns3.nsentry.de::
C*.tinydnstestzone.org:tinydnstestzone.org::
+tinydnstestzone.org:212.162.12.1::
.ima.tinydnstestzone.org::ns3.nsentry.de::
Cima.tinydnstestzone.org:fiction.externaldomain.org::
Cwww.ima.tinydnstestzone.org:fiction.externaldomain.org::
C*.ima.tinydnstestzone.org:fiction.externaldomain.org::
&ima.tinydnstestzone.org::ns4.nsentry.de::
@ima.tinydnstestzone.org:212.162.12.2:mail1.ima.tinydnstestzone.org:::

in fact it's a main zone with a subdomain as additional zone
"ima.tinydnstestzone.org", which is the zone
we worry about. 

pls excuse, that i don't use dnsq, i like the output of dig :)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++
[root]# dig mx @ns3.nsentry.de ima.tinydnstestzone.org

; <<>> DiG 9.3.4 <<>> mx @ns3.nsentry.de ima.tinydnstestzone.org
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4794
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;ima.tinydnstestzone.org.       IN      MX

;; ANSWER SECTION:
ima.tinydnstestzone.org. 86400  IN      CNAME
fiction.externaldomain.org.
ima.tinydnstestzone.org. 86400  IN      MX      0
mail1.ima.tinydnstestzone.org.

;; AUTHORITY SECTION:
ima.tinydnstestzone.org. 259200 IN      NS      ns3.nsentry.de.
ima.tinydnstestzone.org. 259200 IN      NS      ns4.nsentry.de.

;; ADDITIONAL SECTION:
mail1.ima.tinydnstestzone.org. 86400 IN A       212.162.12.2
ns3.nsentry.de.         86400   IN      A       212.162.15.6
ns4.nsentry.de.         86400   IN      A       213.203.243.76

;; Query time: 2 msec
;; SERVER: 212.162.15.6#53(212.162.15.6)
;; WHEN: Mon Sep  6 15:11:01 2010
;; MSG SIZE  rcvd: 194
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++     

As you can see, additional to the wanted and logical answere: 

ima.tinydnstestzone.org.       86400 IN MX      0
mail1.ima.tinydnstestzone.org.
mail1.ima.tinydnstestzone.org. 86400 IN A         212.162.12.2

there is  this CNAME:

ima.tinydnstestzone.org. 86400  IN      CNAME
fiction.externaldomain.org.


a)

The question is now, why is the CNAME in the answere?

IF it's the wildcard *. CNAME, it's shouldn't be answered because the IN
MX target is
fully defined as an IN A . 

IMHO, the CNAME record is wrong and shouldn't be given out.


b) Is there a known patch for it ?


                     
best regards, 
M. Schwarz