Allow overriding DNS resolver
Nice to have on its own, but also useful to point at a DNSSEC-capable resolver.
This commit is contained in:
@@ -60,6 +60,7 @@ Volumes can be mounted at the following locations for adding in files:
|
||||
* `PROSODY_TURN_SECRET` - Shared secret for TURN
|
||||
* `PROSODY_TURN_TLS_PORT` - Port number for STUN over TLS
|
||||
* `PROSODY_RETENTION_DAYS` - How many days worth of message archives and shared file to keep.
|
||||
* `PROSODY_DNS_RESOLVERS` - Comma-separated list of DNS resolvers to use instead of what `/etc/resolv.conf` points to.
|
||||
* `PROSODY_USE_DANE` - Whether to enable [DANE](https://prosody.im/doc/dane) (requires [DNSSEC](https://prosody.im/doc/dnssec) aware resolvers).
|
||||
* `PROSODY_S2S_SECURE_AUTH` - Whether to require that remote servers present valid certificates. Enabled by default.
|
||||
* `PROSODY_C2S_RATE_LIMIT` - Rate limit for client-to-server connections. Defaults to `10kb/s`.
|
||||
|
||||
@@ -128,6 +128,7 @@ use_dane = ENV_PROSODY_USE_DANE
|
||||
unbound = {
|
||||
-- on Debian this file is included in the package 'dns-root-data'
|
||||
trustfile = ENV_PROSODY_USE_DANE and "/usr/share/dns/root.ds";
|
||||
forward = _split(ENV_PROSODY_DNS_RESOLVERS);
|
||||
}
|
||||
|
||||
-- Some servers have invalid or self-signed certificates. You can list
|
||||
|
||||
@@ -128,6 +128,7 @@ use_dane = ENV_PROSODY_USE_DANE
|
||||
unbound = {
|
||||
-- on Debian this file is included in the package 'dns-root-data'
|
||||
trustfile = ENV_PROSODY_USE_DANE and "/usr/share/dns/root.ds";
|
||||
forward = _split(ENV_PROSODY_DNS_RESOLVERS);
|
||||
}
|
||||
|
||||
-- Some servers have invalid or self-signed certificates. You can list
|
||||
|
||||
Reference in New Issue
Block a user