How to measure cache hit resolution time in unbound 1.24.1

Seth Van Buren seth.vanburen at versent.com.au
Tue Nov 25 05:13:15 UTC 2025


Home many cores/slabs are you using?

From: Unbound-users <unbound-users-bounces at lists.nlnetlabs.nl> on behalf of sir izake via Unbound-users <unbound-users at lists.nlnetlabs.nl>
Date: Tuesday, 25 November 2025 at 2:51 pm
To: unbound-users at lists.nlnetlabs.nl <unbound-users at lists.nlnetlabs.nl>
Subject: How to measure cache hit resolution time in unbound 1.24.1

Hi

I have installed unbound 1.24.1 on FreeBSD 14.3 OS. My cache hit rate is 76% with over 20% coming through recursive replies.

The median time for recursive replies is 440ms while the avg is 520ms.

This setup has been running for over 72hrs. I expect stats to improve but that is not happening.

Just wanted to find out if there is a way to measure the cache hit resolution time in a dashboard?

Can I do anything to improve cache hit ratio?

Can I also improve the recursive reply time?

I am using unbound_exporter to monitor stats in grafana

My configs have been adjusted as follows:
rrset-cache-size: 20G
msg-cache-size: 10G
cache-min-ttl: 1800

I am using the root hint files directly on the server for recursive lookup and not forwarding to any public resolver

Thank you

Regards,
Isaac


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20251125/1cd643cc/attachment.htm>


More information about the Unbound-users mailing list