thank very much for your answer, I have done it, and when I look at log file, I found a lot of information like this:
29-Nov-2014 18:09:58.121 general: debug 60: sockmgr 0xb77d7008: watcher got message -3 for socket 514 29-Nov-2014 18:09:58.121 general: debug 60: sockmgr 0xb77d7008: watcher got message -2 for socket -1 29-Nov-2014 18:09:58.121 general: debug 50: socket 0xb558ce18: socket_recv: event 0xb558d008 -> task 0xb7807550 29-Nov-2014 18:09:58.121 resolver: debug 3: resquery 0xb5103280 (fctx 0xb50fc008(C0010/A)): sent 29-Nov-2014 18:09:58.121 resolver: debug 3: resquery 0xb5103008 (fctx 0xb50fc008(C0010/A)): senddone 29-Nov-2014 18:09:58.121 resolver: debug 3: resquery 0xb5103280 (fctx 0xb50fc008(C0010/A)): udpconnected 29-Nov-2014 18:09:58.121 resolver: debug 3: fctx 0xb50fc008(C0010/A'): add_bad 29-Nov-2014 18:09:58.121 lame-servers: info: network unreachable resolving 'C0010/A/IN': 192.228.79.201#53 29-Nov-2014 18:09:58.121 resolver: debug 3: fctx 0xb50fc008(C0010/A'): cancelquery 29-Nov-2014 18:09:58.121 dispatch: debug 90: dispatch 0xb78037f8 response 0xb5591638 192.228.79.201#53: detaching from task 0xb7809ca0 I don't find any name of source file (like message.c or name.c) or name of function in this log file, so I can't understand excatly the process of resolution for dig command. So, I'm asking if we can have more details in log files about BND source files and functions involved in dns resolution? Thanks. 2014-11-30 14:32 GMT+00:00 Tony Finch <d...@dotat.at>: > Kaouthar Chetioui <kaoutharcheti...@gmail.com> wrote: > > I want to know the exact path that follows bind to resolve a DNS query > > Try running > > $ rndc flush > $ rndc trace 11 > $ dig www.example.ma > > Then look at named's logs which will give you lots of details about > queries, responses, and the parts of BIND involved in the process. > > Tony. > -- > f.anthony.n.finch <d...@dotat.at> http://dotat.at/ > South Fitzroy: Northerly 5 to 7, occasionally gale 8 at first. Rough, > occasionally very rough at first. Showers. Good, occasionally moderate. > -- Kaouthar CHETIOUI
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users