selective query logging

Kevin Darcy kcd at daimlerchrysler.com
Tue Nov 14 23:28:37 UTC 2000


Kevin Darcy wrote:

> No way within BIND that I know of. I think the main problem is that the query is
> logged before named even knows whether the name is in an authoritative zone or not.
> But you could use Perl or maybe even just egrep -v -f to weed out unwanted queries
> in a relatively sane way. The advantage of Perl would be that it could parse the
> named.conf to determine what domains to weed out, so you wouldn't have to
> constantly maintain a list of those domains. If you need even more speed, write a
> lean-and-mean C program to do it.
>
> In the long term, you might want to consider separating recursive from recursive
> service.

I meant, "recursive from NON-recursive service", of course...


- Kevin





More information about the bind-users mailing list