DNS Failover Calculator
Estimate Route 53 failover time from health check interval, failure threshold, record TTL and resolver propagation.
Inputs
Estimated Failover Time
180seconds
Fault Detection Time
90seconds
DNS Convergence Time
90seconds
Annual Downtime from Failovers
12.0minutes
Availability Lost to Failovers
0.0023%
Recovery Objective Check
Misses the objective — shorten the TTL or switch to fast health checks
Step by step
Values used
Health check request interval = Standard — every 30 seconds; Failure threshold = 3 checks; Record TTL = 60 seconds; Resolver and client propagation allowance = 30 seconds; Recovery time objective = 120 seconds; Expected failover events per year = 4 events
DNS Failover
failover time = interval × failure threshold + record TTL + propagation allowance.
Estimated Failover Time
= 180 seconds
Fault Detection Time
= 90 seconds
DNS Convergence Time
= 90 seconds
Annual Downtime from Failovers
= 12.0 minutes
Availability Lost to Failovers
= 0.0023
Recovery Objective Check
= Misses the objective — shorten the TTL or switch to fast health checks
How it works
Route 53 marks an endpoint unhealthy only after the failure threshold is met, so detection takes interval multiplied by threshold — 90 seconds with the standard 30-second interval and a threshold of three. Recovery then waits for caches to expire, which is the record TTL plus an allowance for resolvers and clients that hold entries a little longer, and the two phases add up to the real user-visible outage. DNS failover cannot beat the TTL, so a service with a 300-second TTL has a five-minute floor on recovery no matter how aggressive the health checks are — which is why load balancer or Global Accelerator failover is used when seconds matter.
Formula
DNS Failover
failover time = interval × failure threshold + record TTL + propagation allowance.
- interval
- Seconds between Route 53 health check requests
- failure threshold
- Consecutive failures before the endpoint is marked unhealthy
- TTL
- Seconds resolvers may cache the record before asking again
Frequently Asked Questions
How is DNS Failover calculated?
failover time = interval × failure threshold + record TTL + propagation allowance. Route 53 marks an endpoint unhealthy only after the failure threshold is met, so detection takes interval multiplied by threshold — 90 seconds with the standard 30-second interval and a threshold of three. Recovery then waits for caches to expire, which is the record TTL plus an allowance for resolvers and clients that hold entries a little longer, and the two phases add up to the real user-visible outage.
Why does DNS Failover matter?
DNS failover cannot beat the TTL, so a service with a 300-second TTL has a five-minute floor on recovery no matter how aggressive the health checks are — which is why load balancer or Global Accelerator failover is used when seconds matter.
What values do I need to enter?
This calculator takes 6 inputs: Health check request interval, Failure threshold, Record TTL, Resolver and client propagation allowance, Recovery time objective, Expected failover events per year. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.
Why not set the TTL to 1 second?
Query volume, and therefore cost, scales inversely with TTL, and some resolvers enforce a floor regardless of what you publish. A TTL of 60 seconds is the common compromise; below that you pay for queries you cannot rely on being honoured.
How do fast health checks change the maths?
A 10-second interval with a threshold of three detects a fault in 30 seconds instead of 90, at a higher monthly price per health check. Confirm the current fast health check rate with AWS, since the premium can be significant across many endpoints.
You might also need
- Route 53 Query Cost CalculatorCommonly used together
- CloudFront Cost CalculatorCommonly used together
- AWS Network Health Score CalculatorCommonly used together
- Application Load Balancer Capacity CalculatorAlso in AWS Networking
- VPC CIDR CalculatorAlso in AWS Networking
- NAT Gateway Cost CalculatorAlso in AWS Networking