Interview Prep/Networking/DNS & Traffic Management in Production

What is the impact of DNS on application startup and connection pooling?

IntermediateProductionDNS & Traffic Management in Production
Answer

Apps resolve once when the pool is created, so a pool opened against an old IP stays on it. Databases behind failover endpoints (RDS, Aurora cluster endpoint) change IP on failover with a 5-second TTL, and apps that cache DNS indefinitely never move.

Set pool max lifetime (for example 5–30 minutes), enable validation queries, and configure JVM -Dsun.net.inetaddr.ttl=30.

All Networking questions Roadmap: Networking for DevOps

More on DNS & Traffic Management in Production