pdns-recursor: dnstapFrameStreamServer log responses for rpz mappings #14067
Unanswered
ousatov-ua
asked this question in
Q&A
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have pdns-recursor setup.
Also, I have some blocklists as rpz loaded:
rpzFile("/opt/powerdns/blocklists/oisd-nsfw.rpz", {ignoreDuplicates = true})
Added dnstap logging for pdns-recursor:
dnstapFrameStreamServer("/var/lib/pdns-recursor/dnstap.sock", {logQueries=false})
Everything works ok, responses for recursions are logged.
The problem that I want to log responses for which recursion was not executed: basically, those from rpz.
For instance, I have rpz rule to return NXDOMAIN for all "*.xyz". When client requests some domain asd.xyz, he receives NXDOMAIN... but this is not logged!
Is there a possibility to turn it on?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions