From 980ff4c717156db03ec2ecca0f6df4ee2865f17c Mon Sep 17 00:00:00 2001 From: Hugo Chagas Date: Sun, 18 May 2025 10:26:21 -0300 Subject: [PATCH] Update CacheDB configuration on README Added detailed instructions on how to configure the cache module using Redis as a backend. --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7ff8c7e..a503c28 100644 --- a/README.md +++ b/README.md @@ -39,16 +39,13 @@ docker run --name unbound \ The cache DB module was compiled into daemon, but is disabled by default. To enable this module, follow this steps: -- Modify - [unbound.conf](https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html#cache-db-module-options) - to add the following directive: - - > module-config: "validator cachedb iterator" - -- Create a `cachedb.conf` under your custom configuration directory - `/path/to/config/custom.conf.d` with Redis credentials: +- Create a `cachedb.conf` under your custom configuration directory `/path/to/config/custom.conf.d`; +- Add a `server` directive with module configuration to enable `cachedb` module; +- Add a `cachedb` directive with Redis credentials; ```bash +server: + module-config: "validator cachedb iterator" cachedb: backend: "redis" redis-server-host: redis