How to prevent BIND from resolving addresses in logs

Sten Carlsen stenc at s-carlsen.dk
Thu Sep 27 21:47:34 UTC 2012


On 27/09/12 21:08, Spumonti Spumonti wrote:
> 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: www.ibm.com ...
>
>
>
>
> 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: www.amazon.com ...
To me this looks like a questionabout what IP is valid for
www.amazon.com and the question was asked from 192.168.5.30. So
www.amazon.com IS the original question, so what you ask is to have the
answer in the log?
>
>
> 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 https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

-- 
Best regards

Sten Carlsen

No improvements come from shouting:
       "MALE BOVINE MANURE!!!"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20120927/568ab4e1/attachment.html>


More information about the bind-users mailing list