<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFCC" text="#000000">
<br>
<div class="moz-cite-prefix">On 27/09/12 21:08, Spumonti Spumonti
wrote:<br>
</div>
<blockquote
cite="mid:1348772894.42110.YahooMailClassic@web126006.mail.ne1.yahoo.com"
type="cite">
<pre wrap="">I just installed BIND 9.9.1-P3 from source and while looking through the query log files I noticed that IP addresses were being resolved:
27-Sep-2012 12:01:56.512 client 192.168.5.10#44863 (host.foo.com): query: <a class="moz-txt-link-abbreviated" href="http://www.ibm.com">www.ibm.com</a> ...
In my other servers which are running the redhat packaged version of BIND (9.8.2), my query logs look like:
27-Sep-2012 14:04:03.523 client 192.168.5.30#64638: query: <a class="moz-txt-link-abbreviated" href="http://www.amazon.com">www.amazon.com</a> ...</pre>
</blockquote>
To me this looks like a questionabout what IP is valid for
<a class="moz-txt-link-abbreviated" href="http://www.amazon.com">www.amazon.com</a> and the question was asked from 192.168.5.30. So
<a class="moz-txt-link-abbreviated" href="http://www.amazon.com">www.amazon.com</a> IS the original question, so what you ask is to have
the answer in the log?<br>
<blockquote
cite="mid:1348772894.42110.YahooMailClassic@web126006.mail.ne1.yahoo.com"
type="cite">
<pre wrap="">
The logging section of the configuration looks like:
channel query_log {
file "/var/log/queries/query-log" versions 100 size 1m;
print-time yes;
};
category queries {
query_log;
};
I'm sure there's something completely obvious that I've missed. How do I stop BIND from resolving these addresses and just including the IP address in the log file?
_______________________________________________
Please visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list
bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
</pre>
</body>
</html>