Sorry, Shiva I have confused you. Mark is absolutely right and I was wrong.<br>Another way is to capture responses with tcpdump or dnscap.<br><br><div class="gmail_quote">2012/1/30 Mark Andrews <span dir="ltr"><<a href="mailto:marka@isc.org">marka@isc.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
In message <<a href="mailto:CANBtT6nxWb4fQYGev4X8_JL%2Bm5hO7WfeniRxzg3PGVC-kZcJmg@mail.gmail.com">CANBtT6nxWb4fQYGev4X8_JL+m5hO7WfeniRxzg3PGVC-kZcJmg@mail.gmail.com</a>><br>
<div class="im">, Shiva Raman writes:<br>
> Hi Peter<br>
><br>
> Thanks a lot for your reply. I had enabled query-errors with debug level 2<br>
> in my bind logging, now i am able to log all SERVFAIL related error logs in<br>
> query-errors.log. But i am unable to log the NXDOMAIN error logs .<br>
<br>
</div>NXDOMAIN is not a error. It is a *normal* response code in a well<br>
running system. Asking to log NXDOMAIN is like asking to log every<br>
positive answer.<br>
<div class="im"><br>
> Referring to Bind documentation, i enabled delegation-only option(which<br>
> Logs queries that have returned NXDOMAIN as the result of a delegation-only<br>
> zone or a delegation-only statement in a hint or stub zone declaration) ,<br>
> but this also not logging the NXDOMAIN errors. Kindly guide me whether any<br>
> additional parameters to be enabled in query-errors to log NXDOMAIN also.<br>
<br>
</div>delegation-only does *not* log normal NXDOMAIN responses. It logs<br>
answers that are *forced* to NXDOMAIN.<br>
<br>
> Regards<br>
><br>
> Shiva Raman<br>
<span class="HOEnZb"><font color="#888888">--<br>
Mark Andrews, ISC<br>
1 Seymour St., Dundas Valley, NSW 2117, Australia<br>
PHONE: +61 2 9871 4742 INTERNET: <a href="mailto:marka@isc.org">marka@isc.org</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>--<br>AP<br>