1034 Resolver Algo Question

William Stacey staceyw at mvps.org
Thu Aug 26 18:06:40 UTC 2004


Just tagging on to this post.  Under what conditions does 5.3.3 4b happen?
More specifically, what does the header, answer, and auth sections need to
look like?  Does the Answer section need to be empty to hit 4b?  If answer,
4a will handle.  If no answers in answer section and delegations - 4b.  If
answers and answer is cname, then 4c.  Please expand if possible.  TIA

         b. if the response contains a better delegation to other
            servers, cache the delegation information, and go to
            step 2.

         c. if the response shows a CNAME and that is not the
            answer itself, cache the CNAME, change the SNAME to the
            canonical name in the CNAME RR and go to step 1.

-- 
William Stacey

"Danny Mayer" <mayer at gis.net> wrote in message
news:cg5ra3$2kov$1 at sf1.isc.org...
> At 09:33 PM 8/19/2004, William Stacey wrote:
> >4.3.2 Step 5 reads "Using the local resolver or a copy of its algorithm
(see
> >resolver section of this memo)"
> >The server still uses the resolver to build answers from forwarder or
hints
> >right?
>
> If it's BIND, then no. BIND keeps it's own cache and does resolution
itself. It
> does not depend on any local resolver.
>
> Danny
>
> >--
> >William Stacey
> >
> >"Barry Margolin" <barmar at alum.mit.edu> wrote in message
> >news:cg3gl2$1dp2$1 at sf1.isc.org...
> > > In article <cg2prb$2nf2$1 at sf1.isc.org>,
> > >  "William Stacey" <staceyw at mvps.org> wrote:
> > >
> > > > I also have questions on 4c of 5.3.3
> > > >          "c. if the response shows a CNAME and that is not the
> > > >             answer itself, cache the CNAME, change the SNAME to the
> > > >             canonical name in the CNAME RR and go to step 1."
> > > >
> > > > 1) Why does it say "and that is not the answer itself"?  If it was
the
> > > > answer, 4a would have returned it already - no?
> > >
> > > True, this is redundant.
> > >
> > > > 2) It does not say anything about saving the CNAME rr anywhere.  You
> >change
> > > > the Sname to the canonical name in the RR and start at step 1 again.
> >What
> > > > happens to the CNAME we just processed?  Lost?  Or do you keep
building
> >an
> > > > answer section in a tmp reply structure until done or error?
> > >
> > > What do you mean by "answer section"?  This is the algorithm for a
> > > client-side resolver.  Answer sections appear in the packets sent by
> > > servers; that algorithm is described in section 4.3.2.
> > >
> > > --
> > > Barry Margolin, barmar at alum.mit.edu
> > > Arlington, MA
> > > *** PLEASE post questions in newsgroups, not directly to me ***
> > >
>
>



More information about the bind-users mailing list