BIND issueshttps://gitlab.isc.org/isc-projects/bind9/-/issues2019-02-01T01:50:49Zhttps://gitlab.isc.org/isc-projects/bind9/-/issues/623RPZ logging to include QCLASS and QTYPE2019-02-01T01:50:49ZGhost UserRPZ 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.
...### 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
[]([0001-Addition-of-QCLASS-and-QTYPE-to-rpz-logging-as-for-q.patch](/uploads/79a2c08e74280fb3bad82802d1d6e864/0001-Addition-of-QCLASS-and-QTYPE-to-rpz-logging-as-for-q.patch))BIND 9.11.6Mark AndrewsMark Andrews