DNS TTL Cache Convergence & Authoritative Server QPS Calculator

Interactive DNS TTL Propagation & Authoritative QPS Calculator

RFC 1035 · RFC 2308 not modeled
SCENARIO PRESETS:
?Number of distinct client devices that resolve the record each day, from analytics. Range: 1,000 to 50,000,000, step 10,000.
?DNS lookups per device per day for this record (not per page view). Range: 1 to 200, step 1.
?TTL in seconds set on the record. A lower TTL shortens cutover time and raises authoritative query load.
?Price in USD per million authoritative queries from your DNS provider's price page. Range: 0.10 to 2.00, step 0.05. The default matches the AWS Route 53 standard rate; check current pricing.
?A recursive resolver is the cache that asks your authoritative servers on behalf of many clients, so this is the number of different resolvers, not devices, that ask for this record. Count the distinct resolver IP addresses in one day of your authoritative query log: Route 53 public query logs record the resolver IP address, the query name and the record type, and AWS notes that the logs may not capture every query, so treat the count as a floor. The result is the upper bound resolvers / TTL, in queries per second, for one record name and type. Range: 0 to 10,000,000, step 1; 0 skips the bound.
MONTHLY AUTHORITATIVE QUERIES
224.74 Million queries/month
AVERAGE & PEAK AUTHORITATIVE QPS (ESTIMATE)
Avg about 87 to 98 QPS · Peak about 390 to 440 QPS (estimate: model to per-device Poisson, no published source)
RESOLVER UPPER BOUND (QPS PER RECORD)
Not set: enter the resolvers to get the bound resolvers / TTL per record
FULL CACHE EXPIRY (TTL BOUND)
5 minutes until compliant resolver caches expire (if the TTL was already this value; otherwise the previous TTL)
CACHE MISS FACTOR (MODEL ASSUMPTION, NOT AN RFC 1035 VALUE)
Model f_miss = 0.832 · per-device Poisson 1/(1+λT) = 0.941 (no shared resolver cache)
MONTHLY DNS QUERY COST (FLAT PRICE ENTERED, QUERIES ONLY, EXCLUDES HOSTED-ZONE CHARGE)
about $90 to $100 / month (model to per-device Poisson)
CALC30 · DNS TTL Propagation…05224.7486.7
Computed in your browser

Use the DNS TTL Propagation & Authoritative QPS Calculator to evaluate QPS_avg = (U_dau · R_user · f_miss(TTL) [model]) / 86400 | T_max = TTL (RFC 1035 s3.2.1) for planning low-TTL IP cutovers, Route 53 / Cloudflare authoritative DNS cost planning. With the defaults (Daily Active Client Endpoints = 500000, App Lookups per User per Day = 18, Configured Record TTL = 300 sec) it returns Monthly authoritative queries: 224.74 Million queries/month. Change any input and the results update from the same equation.

Governing equationQPS_avg = (U_dau · R_user · f_miss(TTL) [model]) / 86400 | T_max = TTL (RFC 1035 s3.2.1) (IETF RFC 1035 (TTL); RFC 2308 related, not modeled; the miss factor is a model assumption)

Model assumptions

The miss factor is a model assumption, not a value from RFC 1035: the RFC fixes only the TTL as the longest time a cache may keep a record. Peak QPS is 4.5 times the average, also a model assumption. QPS is therefore an estimate with no published source, shown as a range between the model and a per-device Poisson value: do not size servers from it alone. Real load depends on distinct recursive resolvers, not on endpoints: enter them to see the upper bound resolvers / TTL per record name and type. Cost counts standard queries only and excludes the Route 53 hosted-zone charge (USD 0.50 per zone per month for the first 25 zones; AWS Route 53 pricing, checked 2026-11-04, https://aws.amazon.com/route53/pricing/). Prices are example list prices.

Computed in your browser. The calculator, the tables and the worked examples run the same equations.

Why a Shorter TTL Raises Authoritative Query Load

A recursive resolver keeps a record for up to its TTL, in seconds, before it must query again (IETF RFC 1035, sections 3.2.1 and 4.1.3). A shorter TTL therefore sends more lookups to your authoritative servers. The model estimates the share of lookups that miss the cache as min(1, 60 / max(30, TTL^0.75)). This miss factor is a model assumption, not a value from RFC 1035: it behaves as if each client's lookups arrive in sessions, so most of them find a warm cache. The constants 60 and 0.75 control that grouping, and no public source fixes them. It equals 1.0 for TTLs up to about 230 seconds and falls as the TTL rises. The figures are per client device, with no shared resolver cache; the real authoritative load depends on how many distinct recursive resolvers ask, not on the number of endpoints.

Monthly queries = users × lookups per day × miss factor × 30. Average QPS = monthly queries / (30 × 86,400). Peak QPS = average × 4.5, a flash-crowd assumption of the model. The default case (500,000 users, 18 lookups per day, 300-second TTL, miss factor 0.83) gives 224.74 million queries a month, 86.7 average QPS and 390.2 peak QPS. For comparison, suppose each device looks up at random times (a Poisson process, λ = lookups per day / 86,400 s) and keeps its own cache. The expected miss fraction is then 1 / (1 + λ × TTL): 0.941 at 300 s against the model's 0.832, and 0.571 at 3,600 s against 0.129. Neither value is a published measurement, so the card gives the QPS as a range, 87 to 98 average QPS at the default, labelled as an estimate: do not size servers from it alone. Enter the distinct resolvers to add an upper bound, resolvers / TTL per record name and type.

Impact of DNS TTL on Authoritative Query Volume, QPS & Monthly Bill (500k Daily Users; $0.40/M is an example Route 53 list price, AWS, checked 2026-11-04) — Computed via QPS_avg = (U_dau · R_user · f_miss(TTL) [model]) / 86400 | T_max = TTL (RFC 1035 s3.2.1) (IETF RFC 1035 (TTL); RFC 2308 related, not modeled; the miss factor is a model assumption) · Sources checked November 2026
Configured TTLMonthly Queries (M)Average QPSPeak QPSMax Convergence (TTL)Monthly Query Cost ($, model, excludes hosted-zone charge)
30 sec270.00M100 QPS470 QPS0.5 min$108.00
60 sec270.00M100 QPS470 QPS1 min$108.00
300 sec224.74M87 QPS390 QPS5 min$89.89
900 sec98.59M38 QPS170 QPS15 min$39.44
3600 sec34.86M13 QPS60 QPS60 min$13.94
86400 sec3.21M1.2 QPS5.6 QPS1,440 min$1.29

How Long Do Old Answers Stay in Caches, and What Does a Month of Queries Cost?

The longest time a compliant cache keeps an old answer is the TTL, because a cache may keep a record for TTL seconds and must query again after that (RFC 1035, section 3.2.1). The calculator reports this maximum convergence time (TTL / 60 minutes) only for a record that already carried this TTL before the change; otherwise the previous TTL applies. It is the moment when 100 % of compliant caches have dropped the old record, not a 99th-percentile figure.

Cost = millions of queries × price per million. The default price, USD 0.40 per million, is the AWS Route 53 standard rate for the first billion queries a month, and USD 0.20 per million above that (AWS, Route 53 pricing, checked 2026-11-04); verify current pricing. Costs, for queries only, are shown to two figures, as a range between the model and the per-device Poisson value at the flat price you enter; above 1,000 million queries the Route 53 tier figure is lower and is shown beside it. The default case costs about USD 90 a month (USD 90 to 100). Preset 3 (2 million users, 24 lookups, 60 s TTL) gives 1,440 million queries and 555.6 average QPS, about USD 580 a month (USD 570 to 580), or USD 488 at the Route 53 tiers (1,000 × 0.40 + 440 × 0.20).

Authoritative DNS Peak QPS & Cost Scaling by Daily Active User Base (TTL = 300s) — Computed via QPS_avg = (U_dau · R_user · f_miss(TTL) [model]) / 86400 | T_max = TTL (RFC 1035 s3.2.1) (IETF RFC 1035 (TTL); RFC 2308 related, not modeled; the miss factor is a model assumption) · Sources checked November 2026
Daily Active UsersMonthly Auth QueriesAverage QPSPeak QPSRoute 53 tiers ($0.40/M to 1,000 M queries, $0.20/M above; AWS, checked 2026-11-04)
50,00022.47M8.739$8.99
100,00044.95M1778$17.98
500,000224.74M87390$89.89
1,000,000449.47M170780$179.79
5,000,0002247.37M8703,900$649.47
10,000,0004494.73M1,7007,800$1098.95

What Do the Enterprise and Fast-Cutover Presets Show?

Example 1: 5 million devices, 30 lookups a day and a 3600 s TTL. A SaaS whose record rarely moves can run a one-hour TTL. The model puts 580.95 million queries a month on the authoritative servers, an average of 224.1 QPS and a peak of 1,008.6 QPS. The query bill is $232.38 a month at the flat $0.40 per million, and the Route 53 tiers give the same figure because the volume stays under 1,000 million. The price of the low bill is time: an old answer can stay in a compliant cache for up to 60 minutes after you change the record. The model miss factor is 0.129, against 0.444 for a per-device Poisson cache, so read the QPS as an estimate, not as a sizing figure.

Example 2: 2 million devices, 24 lookups a day and a 60 s TTL. A team preparing a failover or a migration cutover accepts a short TTL. Every lookup counts as a miss (model miss factor 1.0, Poisson 0.984), so the servers see 1,440 million queries a month, 555.6 average QPS and 2,500 peak QPS. At the flat $0.40 per million that is $576.00 a month, but above 1,000 million queries the Route 53 tiers apply ($0.40 per million for the first 1,000 million and $0.20 above), which gives $488.00 (1,000 × 0.40 + 440 × 0.20). The convergence bound is 1 minute. Lower the TTL only for the window you need, as the runbook below describes. You can compare these limits with other calculators in the Engineering Studio.

How Do You Run a Low-TTL Cutover?

Lower the TTL on the record at least one old TTL before the cutover, so that every cache has seen the short value. Make the record change in the window. Keep the old endpoint serving until the old TTL has passed everywhere, then restore the normal TTL. Use the calculator to size the authoritative query load for the period when the TTL is short.

Download the data on this page (CC BY 4.0, checked 2026-12-02): CSV Impact of DNS TTL on Authoritative Query Volume, QPS & Monthly Bill (500k Daily Users; $0.40/M is an example Route 53 list price, AWS, checked 2026-11-04) — Computed via QPS_avg = (U_dau · R_user · f_miss(TTL) [model]) / 86400 | T_max = TTL (RFC 1035 s3.2.1) (IETF RFC 1035 (TTL); RFC 2308 related, not modeled; the miss factor is a model assumption) · Sources checked November 2026; Authoritative DNS Peak QPS & Cost Scaling by Daily Active User Base (TTL = 300s) — Computed via QPS_avg = (U_dau · R_user · f_miss(TTL) [model]) / 86400 | T_max = TTL (RFC 1035 s3.2.1) (IETF RFC 1035 (TTL); RFC 2308 related, not modeled; the miss factor is a model assumption) · Sources checked November 2026; all tables as JSON. More files on Data & How to Cite.

Sources

  1. IETF RFC 1035 · Domain namesTTL is given in seconds (section 4.1.3) and a cache may keep a resource record for TTL seconds before it must query again (section 3.2.1); basis of the TTL convergence bound.
  2. IETF RFC 2308 · Negative caching of DNS queriesNegative answers are cached for the minimum of the SOA MINIMUM field and the SOA TTL; a cache must not reuse them after that time. The calculator does not model negative caching.
  3. AWS · Amazon Route 53 pricingStandard DNS queries cost USD 0.40 per million for the first billion queries per month and USD 0.20 per million above that; the default price in the calculator and the tiered cost shown above 1,000 million queries (example list price, checked 2026-11-04).
  4. Wikipedia · Poisson distribution General definitionFor arrivals at rate lambda the expected count in an interval T is lambda times T; the calculator derives the per-device miss factor 1/(1+lambda*T) from it. The formula is a derivation of the model, not a published dataset.

Method and test suite: Calculation Methodology.

Frequently Asked Questions: DNS TTL Propagation & Authoritative QPS Calculator

Why does a 60-second TTL not give a 60-second cutover?

The TTL is the longest time a compliant cache may keep the old answer. It is not a fixed delay, and some resolvers and applications do not honour TTLs exactly. Keep the old endpoint serving for longer than the TTL to cover them.

Why do the 30-second and 60-second rows show the same query load?

Both TTLs are below about 230 seconds, where the miss factor is capped at 1.0. In the model, every lookup counts as a cache miss, so the two rows match. Their convergence times still differ: 30 seconds and 1 minute.

Does a low record TTL also shorten negative caching?

No. RFC 2308 says a negative answer (NXDOMAIN) is cached for the minimum of the SOA MINIMUM field and the SOA TTL. Set that SOA value deliberately, and create a name before a client looks it up.

When is DNS TTL too slow for failover?

When failover must complete in seconds, a TTL of 60 seconds is still too long to rely on alone. A front-end that switches origins without changing the DNS record avoids the wait. The calculator does not model that option.