NLnetLabs / unbound

Unbound is a validating, recursive, and caching DNS resolver.

Home Page:https://nlnetlabs.nl/unbound

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FR] Add support for valkey

glitsj16 opened this issue · comments

Realizing it's early days, but now that the Linux Foundation officially launched valkey, my first thought was to replace unbound's redis backend with it.

Any plans/roadmap on the horizon?

Unbound uses the libhiredis library for the cachedb module. That is a C client interface. It seems to be in the valkey repo at valkey/deps/hiredis.

I would think that it would work straight away. Since it is a copy of the externally developed hiredis library and that is what unbound uses, I guess that would work without needing changes in Unbound. Unbound has support to be able to support different backends for the cachedb module. It can be configured with the backend: "redis" option in the cachedb: section of the config.

Thank you for the heads-up. I actually already use the redis backend on my Arch Linux box. Works fine. Leaving it up to the Arch Linux package manager for hiredis if they want to change to the valkey repo or not.

Regards