Corrupt cache

Kevin Darcy kcd at daimlerchrysler.com
Wed Nov 7 16:31:34 UTC 2001


Barry Margolin wrote:

> In article <9s9s0n$sue at pub3.rc.vix.com>,
> Kevin Darcy  <kcd at daimlerchrysler.com> wrote:
> >A better question is: why were you querying names like www.bingo-lan.org.com in
> >the first place? Do you have some screwy resolver configuration somewhere on your
> >network?
>
> Before the "search" directive was added to resolv.conf, the BIND resolver
> had an implicit search list based on the "domain" directive.  If you had:
>
> domain a.b.c
>
> it was implemented like:
>
> search a.b.c b.c c
>
> So with such a resolver, if your default domain were something.com, and you
> tried to look up www.bingo-lan.org, it would try
> www.bingo-lan.org.something.com, www.bingo-lan.org.com, then
> www.bingo-lan.org (this early resolver also appended the default domains
> even if the name was already qualified -- only a trailing "." prevented it).

I was under the impression that the resolver algorithm would never append a single
label (e.g. "com") as a search element. That's what the whole "ndots" option was
created for, wasn't it? I.e. the ability to override the default minimum of 2
labels...


- Kevin





More information about the bind-users mailing list