<div dir="ltr">thank very much for your answer,<div><br></div><div>I have done it, and when I look at log file, I found a lot of information like this:</div><div><br></div><div><div>29-Nov-2014 18:09:58.121 general: debug 60: sockmgr 0xb77d7008: watcher got message -3 for socket 514</div><div>29-Nov-2014 18:09:58.121 general: debug 60: sockmgr 0xb77d7008: watcher got message -2 for socket -1</div><div>29-Nov-2014 18:09:58.121 general: debug 50: socket 0xb558ce18: socket_recv: event 0xb558d008 -> task 0xb7807550</div><div>29-Nov-2014 18:09:58.121 resolver: debug 3: resquery 0xb5103280 (fctx 0xb50fc008(C0010/A)): sent</div><div>29-Nov-2014 18:09:58.121 resolver: debug 3: resquery 0xb5103008 (fctx 0xb50fc008(C0010/A)): senddone</div><div>29-Nov-2014 18:09:58.121 resolver: debug 3: resquery 0xb5103280 (fctx 0xb50fc008(C0010/A)): udpconnected</div><div>29-Nov-2014 18:09:58.121 resolver: debug 3: fctx 0xb50fc008(C0010/A'): add_bad</div><div>29-Nov-2014 18:09:58.121 lame-servers: info: network unreachable resolving 'C0010/A/IN': 192.228.79.201#53</div><div>29-Nov-2014 18:09:58.121 resolver: debug 3: fctx 0xb50fc008(C0010/A'): cancelquery</div><div>29-Nov-2014 18:09:58.121 dispatch: debug 90: dispatch 0xb78037f8 response 0xb5591638 192.228.79.201#53: detaching from task 0xb7809ca0</div></div><div><br></div><div>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.</div><div>So, I'm asking if we can have more details in log files about BND  source files and functions involved in dns resolution?</div><div><br></div><div>Thanks.</div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-30 14:32 GMT+00:00 Tony Finch <span dir="ltr"><<a href="mailto:dot@dotat.at" target="_blank">dot@dotat.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Kaouthar Chetioui <<a href="mailto:kaoutharchetioui@gmail.com">kaoutharchetioui@gmail.com</a>> wrote:<br>
> I want to know the exact path that follows bind to resolve a DNS query<br>
<br>
</span>Try running<br>
<br>
$ rndc flush<br>
$ rndc trace 11<br>
$ dig <a href="http://www.example.ma" target="_blank">www.example.ma</a><br>
<br>
Then look at named's logs which will give you lots of details about<br>
queries, responses, and the parts of BIND involved in the process.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tony.<br>
--<br>
f.anthony.n.finch  <<a href="mailto:dot@dotat.at">dot@dotat.at</a>>  <a href="http://dotat.at/" target="_blank">http://dotat.at/</a><br>
South Fitzroy: Northerly 5 to 7, occasionally gale 8 at first. Rough,<br>
occasionally very rough at first. Showers. Good, occasionally moderate.<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div>Kaouthar CHETIOUI<br></div></div></div><br></div></div>
</div></div>