Skip to main content
Guides/DNS Records

DNS Propagation Explained: Why Changes Aren't Instant

Ever changed a DNS record and then refreshed your browser, hoping to see the change instantly — but it took hours? That's DNS propagation. This guide explains why it happens, how to check on it, and how to make it as fast as possible next time.

EdgeDNS Team·Updated ·9 min read

First: what DNS caching really is

DNS caching lets a recursive resolver reuse an answer instead of repeating the full lookup for each request. When an authoritative record changes, a resolver can continue returning an older cached answer until its remaining Time to Live (TTL) expires. Local caches and application behavior can also affect what a user sees.

The term “propagation” often describes this transition, but there is no single worldwide update message or completion clock. Check the authoritative values first, then sample recursive resolvers. A result applies to the resolvers, record type, and observation time in that check.

What is DNS, in one paragraph?

The Domain Name System (DNS) publishes records used to find websites, mail servers, and other services. An A record names an IPv4 address; an AAAA record names an IPv6 address; an MX record identifies a mail server. A recursive resolver obtains answers from authoritative infrastructure and may cache them.

Always compare the exact hostname and record type you changed. Looking up example.com A does not verify www.example.com CNAME or example.com MX.

How a website name becomes an actual server

An application asks its configured resolver for a hostname and record type. If the resolver has a usable cached answer, it can return it. Otherwise, it follows DNS delegations to obtain authoritative data. Some devices, operating systems, browsers, and forwarders also maintain caches.

Changing a record at your DNS provider updates authoritative publication according to that provider’s behavior. It does not directly invalidate copies already held by other resolvers. During a planned cutover, keep the old destination available while testing the new one.

OK so what is "propagation"?

A propagation comparison asks several resolvers the same DNS question and groups their returned answers. Agreement is useful evidence, but the majority is not automatically the value you intended to publish. Several resolvers can agree on an old or incorrect value.

Record the expected answer independently from your deployment plan and authoritative checks. Then compare each sampled answer with that expectation. Treat resolver errors separately from a returned value and keep the raw observations when investigating a disagreement.

TTL: the secret to how fast or slow this is

TTL (Time to Live) tells a recursive resolver how long it may normally reuse a DNS answer. Common values are 300 seconds (five minutes), 3,600 seconds (one hour), and 86,400 seconds (one day). The previous answer’s TTL matters: reducing the TTL now does not shorten the lifetime of copies already cached under the old value.

Before a planned cutover, lower the TTL and allow at least the previous TTL to elapse before changing the destination. This usually shortens the cache transition, but it is not a worldwide completion deadline. Authoritative servers may need time to publish consistent answers; delegation, negative caching, local caches, and resolver behavior can affect what a user observes. RFC 8767 also permits resolvers to serve stale answers under specified conditions when fresh data cannot be obtained.

Compare the expected value at the authoritative servers first, then sample recursive resolvers with the DNS propagation checker. Agreement across those samples is evidence about those resolvers at that time, not proof that every network has refreshed.

Warning:

Lowering a TTL does not shorten copies already cached under the old value. Allow the previous TTL to elapse before the planned change, and verify authoritative publication and sampled answers afterward. This reduces a typical cache transition; it does not guarantee a global completion time.

Why this specific tool matters

Use a resolver comparison during a website migration, a mail-routing change, or a nameserver transition to identify which sampled answers need investigation. Keep the old and new destinations working where possible while ordinary caches transition.

Before calling a change complete, verify the expected authoritative data and application behavior from relevant networks. If a sample differs, inspect the record, previous TTL, and resolver errors before changing DNS again. Waiting can help cached copies expire, but it cannot fix an incorrect authoritative value.

When would I actually use this?

  • After changing an A, AAAA, CNAME, or MX record, compare the exact hostname and type with the intended value.

  • During a nameserver migration, verify delegation and consistent authoritative publication as separate steps.

  • When only some users report a problem, compare observations from their resolver and network with the public samples.

Use the free propagation checker for an on-demand snapshot. For a recurring operational record, use supported endpoint watches and retain the observations you need for comparisons.

How to check propagation

Run the propagation checker or the request below. Inspect resolvers[].records and resolvers[].error alongside summary.responding and summary.dispersion. Compare the values with the expected deployment answer, rather than accepting a consistency label as a completion signal.

The returned region labels describe the configured resolver targets. Public resolver anycast routing and the probing location affect the observation; this is not a measurement from every user’s network. A cached API response is also not necessarily a fresh resolver observation.

bash
# Ask Google DNS
dig @8.8.8.8 example.com A +short

# Ask Cloudflare DNS
dig @1.1.1.1 example.com A +short

# Ask OpenDNS
dig @208.67.222.222 example.com A +short

# Ask Quad9
dig @9.9.9.9 example.com A +short

# Ask all of them at once via the EdgeDNS API
curl -s "https://api.edgedns.dev/v1/dns/propagation?domain=example.com&type=A" \
  -H "Authorization: Bearer YOUR_API_KEY" | jq '.data.resolvers'

Checking propagation from Python

This example makes one comparison snapshot and checks each returned A-record set against an explicitly supplied expected address. It reports failed queries separately. It is a checkpoint for the sampled resolvers, not a complete deployment gate; verify authoritative publication and application behavior separately.

The expected address below is illustrative. Replace it with the actual intended value before running the script. When repeating checks, respect your request quota and inspect cache metadata instead of assuming each request made fresh DNS queries.

python
import os
import requests

expected = {"203.0.113.10"}  # illustrative; use your deployment's expected A values
response = requests.get(
    'https://api.edgedns.dev/v1/dns/propagation',
    params={'domain': 'api.example.com', 'type': 'A'},
    headers={'Authorization': f"Bearer {os.environ['EDGEDNS_API_KEY']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()['data']
for resolver in data['resolvers']:
    if resolver.get('error') or resolver['status'] == 'error':
        print(resolver['name'], 'lookup failed:', resolver.get('error'))
        continue
    observed = {record['value'] for record in resolver['records']}
    print(resolver['name'], 'matches expected:', observed == expected, observed)
print('Sample summary:', data['summary'])
# Also verify authoritative publication and application behavior before cutover.

Ask your AI to do this for you

After connecting the MCP server, give the assistant the expected value and ask it to show the evidence:

Check the A record for api.example.com with dns_propagation. The expected address from my deployment plan is 203.0.113.10. List each sampled answer, identify resolver errors, and explain any disagreement without claiming worldwide completion.

Review the tool inputs and raw returned values. If the expected value is wrong, agreement with it does not make the deployment correct.

How to speed it up

  • Lower the TTL ahead of a planned cutover and allow at least the previous TTL to elapse before changing the destination.

  • Confirm the intended value on all relevant authoritative servers. Check nameserver delegation separately when it changes.

  • Keep the previous application destination working during the transition where possible.

  • Compare resolver samples and test application behavior from relevant networks.

A browser dns-prefetch hint can begin a lookup earlier, but does not flush recursive caches or accelerate DNS publication. Flushing your own local cache affects your own observation, not the internet. Avoid repeatedly changing otherwise correct records in response to one stale sample.

When propagation seems stuck

Start with authoritative publication: if an authoritative server returns an unintended value, investigate the zone or provider configuration. If authoritative answers are correct but a recursive resolver differs, inspect its remaining TTL, errors, and the previous value.

Negative caching can preserve the absence of a record. Its duration is derived from the authoritative SOA record under the applicable DNS rules; a positive record’s new TTL does not clear an existing negative cache. Delegation changes and independently cached CNAME targets can have their own timing.

Some resolvers can serve stale answers when authoritative data cannot be refreshed, as described in RFC 8767. A local cache, DNS filtering, split-horizon configuration, or intended geographic routing can also explain differences. Check those possibilities before assuming a worldwide propagation failure.

But what if it's not actually propagation?

Geographic routing and load balancing can intentionally return different answers to different requests. The number of distinct answer sets and their TTLs provide clues, but do not prove a cause. A migration can produce more than two answer sets, and geographic routing can produce only two.

The API’s summary.dispersion and per-resolver divergence_reason are diagnostic classifications. A geo_distributed label is not proof that your specific change is complete; a propagating label does not establish that waiting will fix a configuration error.

Compare the observed sets with your provider’s routing policy and intended deployment values. For dynamic or geographic records, define the acceptable sets for each relevant context rather than requiring every resolver to return one IP address.

Words you might be wondering about

DNS (Domain Name System) — the internet's address book. Turns names into numbers.

A record — a type of DNS entry that maps a domain name to an IPv4 address.

Resolver — the DNS server that does the work of looking things up on your behalf. Your home router, your office network, and public services like 8.8.8.8 are all resolvers.

Authoritative nameserver — the DNS server that holds the real answer for your domain. When you change a DNS record at your provider, you're updating the authoritative nameserver.

TTL (time to live) — how long, in seconds, a cached DNS answer is valid before it has to be refreshed.

Caching — storing the answer to a question for a while so you don't have to ask again. The whole reason DNS feels fast — and the whole reason propagation isn't instant.

MCP (Model Context Protocol) — the standard that lets AI assistants call DNS tools directly so you can just ask them, "is this DNS change live yet?"

Need Programmatic Access?

Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.

DNS propagation explained — beginner guide & how to check it | EdgeDNS