Hello Ulrich,
nice to hear you try knot-resolver!
On 05/30/2018 09:56 AM, Ulrich Wisser wrote:
Now that I have statistics, I am not entirely sure
what all the data
means.
Everything under answer is easy to understand.
But all data under cache is only 0, although answer.cached is not 0.
We know that deficiency. answer.cached vs. answer.total is probably
what you want, indicating the portion that was *fully* answered from
cache. Details:
https://gitlab.labs.nic.cz/knot/knot-resolver/issues/324
Please find some stats below. I would be very grateful
for some
explanation what the data means.
My next step would be to try to use RPZ funtionality. is there
statistics for RPZ too?
There is no statistics collection in the policy module (and thus RPZ);
I/we haven't thought of that yet, but it shouldn't be difficult to add
in some form - the main thing is to decide which events/numbers to
collect :-) What particular ones would you like? Simple counts of
DENY/DROP/... with one number per type of action, by default?
[predict.learned] => 54
[predict.epoch] => 19
[predict.queue] => 520
I don't remember details in predict module with certainty ATM, but
*epoch* is a periodically incremented serial number, and in each such
interval it may *learn* some common queries, and it may *queue* some
(other) queries for prefetching based on what it's learned in previous
epochs.
[query.edns] => 152223
[query.dnssec] => 211
*edns* and *dnssec* are answers that contain EDNS and DO bit,
respectively. (the other being a subset of the first)
--Vladimir