I would like to record queries to my DNS from a particular ip. Is this possible?
Right now I have this:
channel query_log {
file "/var/named/data/queries.log" versions 2 size 1G;
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};
category queries { query_log;};
As you may imagine, the file "queries.log" grows at an extremely fast rate on our busy network. I just would like to log the queries from a particular ip. Is there a way to do this using any channel option? I thought about creating a separate view (to match the host I want to record) but you can oly have one "logging" option in named.conf (not inside the views) :(
Thanks.