Debugging output in named.run

Kevin Darcy kcd at daimlerchrysler.com
Wed Jan 17 00:59:36 UTC 2001


What's "meaningful" and what isn't is of course entirely subjective,
especially when it comes to debugging a largish program like named. The
select/Dispatch.File/evGetNext/pselect messages might be
*very* meaningful for someone trying to diagnose a problem with named's
event management code. Apparently though you're trying to diagnose
something else. So ignore the event management messages and focus on the
messages relating to the sections of the code you're trying to debug.

Previous messages you've posted to this list indicate that you're
interested in the way that named constructs query responses. In that
case, at debug level 13, you should be seeing "make_rr" and/or
"findns" and/or "finddata" messages in the debug output. If the answer
comes from the cache, then you might also see "addinfo" or "do
additional" messages in the debug output -- note that named doesn't need
to *construct* authority or additional sections of a response when it is
just passing through the answer from an authoritative server, so in the
case of a "pass-through" answer, you won't see as much
response-construction-related information in the debug output.


- Kevin

Questions Answers wrote:

> Hello
>
> I am running BIND 8.2.2 P7 on RH 6.2
> I was going through the name.run file looking for
> similar debugging output, as illustrated in the "DNS
> and BIND" (3rd Edition) book, by Paul Albitz and
> Cricket Liu, on page 290.
>
> The problem is I cannot see those kinds of
> "meaningful" messages which make sense( as in the
> refered page). All I get are messages like :
>
> select() returns 1 (err: none)
> Dispatch.File: fd 22, mask 0x1, func 0x805e2a0, uap
> 0x401162fc
> evGetNext: fdCount 0
> pselect(32, 0xfff000a0, 0x0, 0x0, 849.393366000)
>
> which are not much help for debugging!
>
> I am running at trace level 13. And I assume that the
> #ifdef DEBUGs in the named code are activated by the
> #define DEBUG in  src/bin/named/named.h Line 23
>
> I am not sure what is wrong. Any help ?
>
> Thanks much.
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/






More information about the bind-users mailing list