OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: cinergi on November 25, 2024, 09:13:48 PM

Title: DNS request queue exceeded statistic
Post by: cinergi on November 25, 2024, 09:13:48 PM
Hi all,

I noticed that in Services > Unbound DNS > Statistics, my Request Queue Exceeded counter is non-zero.  I assume this means DNS requests are occasionally being dropped during periods of high usage.  I'm running with default settings for Unbound except I've enabled Prefetch DNS Key Support, Harden DNSSEC Data, Aggressive NSEC, Serve Expired Responses, and Prefetch Support.  Unbound is using 4 threads on my quad-core system, which seems right.

Can I increase the size of the request queue, and what's the proper parameter for this?  The only potentially relevant one I see is Number of queries per thread, but that's not exactly the same thing.

Is there a set of best-practice settings for Unbound in OPNSense?  I have 8GB RAM so that shouldn't be a problem.

Thanks!