mirror of
https://github.com/klutchell/unbound-docker.git
synced 2026-10-18 00:02:58 +00:00
Merge pull request #586 from hugochc/main
Update CacheDB configuration on README
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user