Handling subdomain ?

Kevin Darcy kcd at daimlerchrysler.com
Thu Sep 14 04:05:24 UTC 2000


Yes, it is over-qualified, and just plain clumsy. Please replace with:

    The wildcard record will match any query of the zone with the same record
type, unless the queried name is a component of an existing subdomain or has an
explicit record in the zone.

(I'm using "match" here in the semi-layperson's sense of producing a usable, i.e.
non-empty, answer. Wildcard "matches" which produce NODATA responses seem rather
counter-intuitive).


- Kevin

Mark.Andrews at nominum.com wrote:

> It doesn't matter what was given.  Your description was wrong. You over
> qualified it.
>
> Mark
>
> >
> > A non-record-owning, non-subdomain QNAME was stipulated. Thus QNAME doesn't m
> > atch
> > any label -- even a non-terminal one -- and the algorithm falls through Steps
> >  3(a)
> > and 3(b).
> >
> >
> > - Kevin
> >
> > Mark.Andrews at nominum.com wrote:
> >
> > >         Section 4.3.2, Step 3(a) applies first.
> > >
> > >         "a. If the whole of QNAME is matched, we have found the
> > >             node.
> > >
> > >             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.
> > >
> > >             Otherwise, copy all RRs which match QTYPE into the
> > >             answer section and go to step 6."
> > >
> > >         Note:
> > >         1. this is independent of type.
> > >         2. "all RRs which match type" may be zero.
> > >
> > >         Mark
> > > >
> > > > Huh? RFC 1034, Section 4.3.2, Step 3(c):
> > > >
> > > >
> > > > > [...]
> > > > >
> > > > > If the "*" label does exist, match RRs at that node
> > > > >             against QTYPE.
> > > > >
> > > >                ^^^^^^^^^^^^^
> > > >
> > > > >   If any match, copy them into the answer
> > > > >             section, but set the owner of the RR to be QNAME, and
> > > > >             not the node with the "*" label.  Go to step 6.
> > > > >
> > > >
> > > >
> > > > - Kevin
> > > >
> > > >
> > > > Mark.Andrews at nominum.com wrote:
> > > >
> > > > > >
> > > > > > Sure, just put a wildcard ("*") entry into the something.dk zone. Thi
> > s wi
> > > > ldca
> > > > > > rd
> > > > > > record will be matched by any name in the domain which is not a subdo
> > main
> > > >  and
> > > > > > which does not have an explicit record of the same type in the zone.
> > > > > >
> > > > > >
> > > > > > - Kevin
> > > > >
> > > > >         '*' matches against a name that does not exist.  It is independ
> > ent
> > > > of
> > > > >         the query type.
> > > > >
> > > > >         Mark
> > > > >
> >
> >
> >
> >
> >
> --
> Mark Andrews, Nominum Inc.
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com






More information about the bind-users mailing list