OPNsense Forum

English Forums => General Discussion => Topic started by: Mbl on January 29, 2022, 05:11:47 PM

Title: Unbound enable Log for Query-Response
Post by: Mbl on January 29, 2022, 05:11:47 PM
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
Title: Re: Unbound enable Log for Query-Response
Post by: Fright on January 29, 2022, 05:32:21 PM
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
Title: Re: Unbound enable Log for Query-Response
Post by: Mbl on February 01, 2022, 10:28:33 PM
Hi Fright

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