RPZ logging to include QCLASS and QTYPE
Description
RPZ logging does not log QCLASS or QTYPE, whereas query logging does. This information is very useful for analysis of rpz behaviour.
Request
The additional fields qclass and qtype at the end of the log file - e.g. instead of
24-Oct-2018 17:54:52.032 rpz: info: client @0x7f990085b070 213.248.248.83#38933 (www.example.net): rpz QNAME Local-Data rewrite www.example.net via www.example.net.rpz101.example.com
24-Oct-2018 18:02:56.143 rpz: info: client @0x7f310884c1b0 213.248.248.83#52403 (www.example.net): rpz QNAME Local-Data rewrite www.example.net via www.example.net.rpz101.example.com IN A
I have attached a potential patch idea - but it doesn't handle IP range entries.
Links / references
Edited by Ghost User