Merge pull request #586 from hugochc/main

Update CacheDB configuration on README
This commit is contained in:
Kyle Harding
2025-05-18 09:48:30 -04:00
committed by GitHub
3 changed files with 7 additions and 9 deletions
+5 -8
View File
@@ -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
@@ -1,6 +1,5 @@
server:
module-config: "validator cachedb iterator"
cachedb:
backend: "redis"
redis-server-host: redis
@@ -1,3 +1,5 @@
server:
module-config: "validator cachedb iterator"
cachedb:
backend: "redis"
redis-server-host: redis