DNS-0x20 encoding reduces cache hit count

Tuomo Soini tis at foobar.fi
Fri Feb 21 10:37:06 UTC 2025


On Fri, 21 Feb 2025 10:29:02 +0100
Peter Russel via Unbound-users <unbound-users at lists.nlnetlabs.nl> wrote:

> Feb 21 06:01:24 unbound[915:3] info: resolving docs.pi-hole.net. AAAA
> IN Feb 21 06:01:24 unbound[915:2] info: resolving docs.pi-hole.net. A
> IN Feb 21 06:38:09 unbound[915:0] info: resolving dOCs.Pi-hole.NEt.
> AAAA IN Feb 21 06:38:09 unbound[915:1] info: resolving
> docs.PI-HOlE.NET. A IN Feb 21 06:43:11 unbound[915:0] info: resolving
> DoCs.pI-hOLE.nET. AAAA IN Feb 21 06:43:11 unbound[915:2] info:
> resolving docS.pi-hoLE.NEt. A IN
> 
> Unfortunately, the cache (using redis) saves a key for all of the
> queries, when the next query (from dnsmasq) uses another variation of
> the case variation, there will thus be no cache hit.

I'd say this is a bug to fix. Cache should always be lower case.


-- 
Tuomo Soini <tis at foobar.fi>
Foobar Linux services
+358 40 5240030
Foobar Oy <https://foobar.fi/>


More information about the Unbound-users mailing list