DNS Data

DNS Propagation Check: How to Track DNS Changes Globally

Understand DNS propagation timing, TTL values, and how to verify DNS changes across global servers. Step-by-step guide for zero-downtime DNS updates.

March 20, 202611 min readDeveloper Relations Team
200+
Global DNS servers
25ms
Average check time
240+
Countries covered

What Is DNS Propagation?

DNS propagation is the process of distributing DNS record changes across all DNS servers worldwide. When you update a DNS record (like changing an A record to point to a new server), the change is made on your authoritative DNS server. However, DNS resolvers around the world cache DNS records, so it takes time for the updated information to reach everyone.

Think of it like updating a contact in your phone. You change the number immediately, but friends who have your old number saved in their contacts will still use the old one until they look it up again. DNS works the same way, but with TTL (Time to Live) values controlling how long resolvers wait before checking for updates.

How DNS Propagation Works

1

Authoritative Update

You update a DNS record on your authoritative name server. This change is immediate on the authoritative server and any resolver that queries it directly.

2

Resolver Cache Expiration

DNS resolvers worldwide have cached the old record. They will continue serving the cached value until the TTL expires, at which point they query the authoritative server for fresh data.

3

Gradual Global Update

Different resolvers have different cache expiration times, so the update spreads gradually across the globe. Most resolvers update within the TTL period, but some ISPs ignore TTL and cache longer.

4

Full Propagation

Once all resolver caches have expired and refreshed, the new DNS record is served globally. This typically takes 1-24 hours but can take up to 48 hours in rare cases.

Factors Affecting Propagation Speed

FactorImpactRecommendation
TTL ValueHigher TTL = slower propagationLower TTL 24-48h before changes
ISP CachingSome ISPs ignore TTLCannot control; wait for expiration
DNS ProviderAnycast networks propagate fasterUse providers with anycast DNS
Record TypeNS records take longestPlan extra time for NS changes

How to Check DNS Propagation

1

Choose a DNS Propagation Checker

Select a tool that queries DNS servers across multiple geographic regions. The Ops.Tools DNS Lookup checks propagation across 200+ servers in 240+ countries.

2

Enter Your Domain Name

Type the full domain name including the subdomain (e.g., www.example.com or example.com). Check both the www and non-www variants if you changed your A records.

3

Select the Record Type

Choose the DNS record type you changed. For server migrations, check A and AAAA records. For email changes, check MX and TXT records.

4

Analyze Results

Look for mismatches between expected and actual values across servers. Green checks indicate the new record has propagated. Red marks indicate the server still has the old cached value.

DNS Propagation API Integration

Automate DNS propagation monitoring with the Ops.Tools API.

Python Example

import requests

apiUrl = "https://api.ops.tools/v1/dns/lookup"
headers = {"Authorization": "Bearer YOUR_API_KEY"}

response = requests.get(apiUrl, headers=headers, params={
    "domain": "example.com",
    "recordType": "A"
})
data = response.json()

for record in data["records"]:
    print(f"IP: {record['value']}, TTL: {record['ttl']}s")

Node.js Example

const response = await fetch(
  "https://api.ops.tools/v1/dns/lookup?domain=example.com&recordType=A",
  { headers: { "Authorization": "Bearer YOUR_API_KEY" } }
);
const data = await response.json();
console.log(`Records: ${JSON.stringify(data.records, null, 2)}`);

Common DNS Propagation Issues

DNS Propagation Stuck

Cause: High TTL values or ISP-level caching ignoring TTL. Fix: Wait for cache expiration (up to 48 hours), or contact the ISP directly to flush their DNS cache.

Partial Propagation

Cause: Secondary DNS servers not synchronized with the primary. Fix:Verify all authoritative name servers return the same records. Check your DNS provider's dashboard for sync status.

Local Cache Showing Old Value

Cause: Your browser or OS has cached the old DNS record. Fix: Flush your local DNS cache: macOS/Linux use sudo systemd-resolve --flush-caches, Windows use ipconfig /flushdns.

For a deeper understanding of DNS records, check out our complete DNS records guide or learn how to query DNS records programmatically via API.

Frequently Asked Questions

Q: How long does DNS propagation take?

DNS propagation typically takes 1-24 hours, depending on the TTL value configured for the record. Most records propagate within 4-8 hours globally. However, some ISPs cache DNS records longer than the TTL specifies, which can delay full propagation up to 48 hours in rare cases.

Q: How can I check DNS propagation status?

Use a DNS propagation checker that queries DNS servers across multiple geographic locations and ISPs. Ops.Tools checks DNS propagation across 200+ servers in 240+ countries, showing real-time propagation status for any domain and record type.

Q: What is DNS TTL and how does it affect propagation?

DNS TTL (Time to Live) is a value in seconds that tells DNS resolvers how long to cache a record before requesting a fresh copy. A lower TTL means faster propagation but more DNS queries. For planned changes, lower TTL 24-48 hours in advance.

Q: Why is my DNS not propagating to all servers?

DNS may not propagate fully due to high TTL values, ISP-level caching ignoring TTL, glue record mismatches between registrar and DNS provider, or secondary DNS server synchronization delays. Use a global DNS propagation checker to identify which servers have not yet updated.

Related Articles

DNS Data16 min read

DNS Records Explained: A Complete Guide to All DNS Record Types

Master every DNS record type: A, AAAA, MX, CNAME, TXT, NS, SOA, PTR and more. Understand how DNS resolution works with practical examples.

Read Article
SSL & Security14 min read

SSL Certificate Checker: Complete Guide to SSL Verification

Learn how to check SSL certificate validity, understand SSL errors, and monitor certificate expiration. Includes automation examples with the Ops.Tools API.

Read Article
API Tutorials12 min read

DNS Lookup API: How to Check DNS Records Programmatically

Complete developer guide to querying DNS records via API. Includes working code examples in Python, Node.js, Go, and PHP with caching best practices.

Read Article

Check DNS Propagation Across 200+ Servers

Monitor DNS changes globally in real-time. Professional plans starting at $29/month.