Make possible logging of NXDOMAIN authoritative responses
Description
Make possible logging of NXDOMAIN responses
Request
It was requested on Red Hat bug. I have found it is only possible to log nxdomain responses on recursive server. But I haven't found a way to configure authoritative server to log NXDOMAIN results of queries.
I think DNSTAP can be used also for this, but it seems unnecessary complicated. Is there way to log queries, which got unsuccessful response?
Could a new authoritative-errors channel be created, with default configuration to null sink? It would be possible to redirect it to a log file. I am aware NXDOMAIN response is not exactly error, just statement such name does not exist. What if I am interested in most frequent non-existing names on my domains?