🛜 feat: Redis Alt. DNS Lookup for Elasticache support #9263 (#400)

this is required when connecting to elasticache for ioredis
see "Special Note: Aws Elasticache Clusters with TLS" on this webpage:  https://www.npmjs.com/package/ioredis

Co-authored-by: Marc Amick <MarcAmick@jhu.edu>
This commit is contained in:
MarcAmick
2025-09-24 08:32:20 -04:00
committed by GitHub
parent c6a58fbf4e
commit 86476fe309

View File

@@ -104,6 +104,14 @@ REDIS_URI=rediss://your-redis-host:6380
# Provide CA certificate for verification
REDIS_CA=/path/to/your/ca-certificate.pem
```
### TLS with Elasticache
Elasticache may need to use an alternate dnsLookup for TLS connections. see "Special Note: Aws Elasticache Clusters with TLS" on this webpage: https://www.npmjs.com/package/ioredis
```bash
# Enable redis alternate dnsLookup
REDIS_USE_ALTERNATIVE_DNS_LOOKUP=true
```
## Advanced Options