OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: FredFresh on June 22, 2026, 09:17:22 PM

Title: Unbound DNS log
Post by: FredFresh on June 22, 2026, 09:17:22 PM
Is it possible to get a log as in

reporting -> unbound -> details

but extended to much more than 1000 lines and to be able to download it?

The log under services -> unbound dns -> log file seems to be more related to check it is probably working than to get a clear log of the queries.

Thank you.
Title: Re: Unbound DNS log
Post by: OPNenthu on June 22, 2026, 11:43:22 PM
You could try enabling query logs in Unbound itself (Advanced->Logging Settings->Log Queries) which I guess would show them in the service logs (Unbound->Log File), but it comes with a performance impact warning:

unbound-logging.png

No idea if/how the OPNsense reports can be extended but would also be interested in that...
Title: Re: Unbound DNS log
Post by: FredFresh on June 25, 2026, 09:10:19 PM
I already tried that, but it does not provide the same information.

I have a cpu n100 and 16gb of ram, keeping the unbound dns log active is detrimental for performances?
Title: Re: Unbound DNS log
Post by: OPNenthu on June 28, 2026, 09:03:04 PM
Quote from: FredFresh on June 25, 2026, 09:10:19 PMI have a cpu n100 and 16gb of ram, keeping the unbound dns log active is detrimental for performances?
That's what the warning says, but I guess whether you notice it or not depends on your system and query volume.  Maybe it's not so bad for a small / not busy network.