How to debug BIND

Kaouthar Chetioui kaoutharchetioui at gmail.com
Sun Nov 30 11:24:27 UTC 2014


I have already use +trace it gives me the following answer, like this:
global options: +cmd
. 518400 IN NS E.ROOT-SERVERS.NET.
. 518400 IN NS G.ROOT-SERVERS.NET.
. 518400 IN NS D.ROOT-SERVERS.NET.
. 518400 IN NS H.ROOT-SERVERS.NET.
. 518400 IN NS K.ROOT-SERVERS.NET.
. 518400 IN NS B.ROOT-SERVERS.NET.
. 518400 IN NS I.ROOT-SERVERS.NET.
. 518400 IN NS J.ROOT-SERVERS.NET.
. 518400 IN NS F.ROOT-SERVERS.NET.
. 518400 IN NS C.ROOT-SERVERS.NET.
. 518400 IN NS M.ROOT-SERVERS.NET.
. 518400 IN NS L.ROOT-SERVERS.NET.
. 518400 IN NS A.ROOT-SERVERS.NET.

I also add in 'named.conf' file, the following commands:
logging {
        channel debug {
                file "data/named.log" size 10m;
severity debug 99;
                print-time yes;
                print-severity yes;
                print-category yes;
        };
category "default" { "debug"; };
category "general" { "debug"; };
category "database" { "debug"; };
category "security" { "debug"; };
category "config" { "debug"; };
category "resolver" { "debug"; };
category "xfer-in" { "debug"; };
category "xfer-out" { "debug"; };
category "notify" { "debug"; };
category "client" { "debug"; };
category "unmatched" { "debug"; };
category "network" { "debug"; };
category "update" { "debug"; };
category "queries" { "debug"; };
category "dispatch" { "debug"; };
category "dnssec" { "debug"; };
category "lame-servers" { "debug"; };

};
and I used 'dig www.example.ma -d' to debug.
In the file 'named.log', I have the detail of debug but I dont find
functions that are used in Bind source files.

Thanks.

2014-11-30 11:10 GMT+00:00 Steven Carr <sjcarr at gmail.com>:

> On 30 November 2014 at 11:04, Kaouthar Chetioui
> <kaoutharchetioui at gmail.com> wrote:
> > I want to know the exact path that follows bind to resolve a DNS query
>
> Please reply to the list not direct.
>
> The option you are looking for is +trace and needs to be invoked on
> the server/system that will be resolving the query for the client.
>
> You might want to try "man dig" and look at the documentation first in
> future...
>
> Steve
>



Kaouthar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20141130/9bb25db7/attachment.html>


More information about the bind-users mailing list