Unbound enable Log for Query-Response

Started by Mbl, January 29, 2022, 05:11:47 PM

Previous topic - Next topic
Hi community

Not sure if there is even a way to do so, but I need to have the response logged from Unbound. Logging works already (see bellow) but the response of the Query is missing. It's also not logged with log level 5.

Any Ideas how this could be enabled?

Thanks for any hint...


2022-01-29T17:06:12   unbound[24769]   [24769:0] info: 10.0.0.1 250.255.255.239.in-addr.arpa. PTR IN   
2022-01-29T17:06:07   unbound[24769]   [24769:3] info: 10.0.0.102 safebrowsing.google.com. A IN   
2022-01-29T17:06:07   unbound[24769]   [24769:3] info: 10.0.0.102 safebrowsing.google.com. A IN   
2022-01-29T17:06:03   unbound[24769]   [24769:2] info: 127.0.0.1 ftp.ext.hp.com. AAAA IN

Hi
if you mean 'log-replies' directive then its not possible via GUI imho.
i think you wiil need to make a custom config https://docs.opnsense.org/manual/unbound.html#advanced-configurations

Hi Fright

Yes correct. Thanks for the link, which made the trick...