Hi Mark,

> > http://tools.ietf.org/html/rfc1034#section-4.3.2 says
> > 
> >        If the data at the node is a CNAME, and QTYPE doesn't match
> >        CNAME, copy the CNAME RR into the answer section of the
> >        response, change QNAME to the canonical name in the CNAME RR,
> >        and go back to step 1.
> 
> Actually the order of the RRsets in the answer section is defined by
> that.  The order of the RRsets in the other sections isn't.

You're right, just the answer section.

> > but copying doesn't state an order, strictly, and 4.3.2 starts by
> > saying
> >
> >     The actual algorithm used by the name server will depend on the
> >     local OS and data structures used to store RRs.
> 
> Which allows you to use a hash table instead of a tree.  Or a hash
> table and a tree.
...
> The answers that are generated need to match those that would be
> generate by processing the data in the tree structure defined
> following the defined algorithm.

That was my reading too, but others can and are interpreting it
differently and there seems to be sufficient wriggle room to do so.

Cheers, Ralph.

_______________________________________________
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop

Reply via email to