Black Friday Sale is live: save up to 85% on Web & WordPress HostingView Deals
Step-by-Step TutorialDomains & DNSBeginner

How to Check DNS Propagation: Concepts and Inspection Methods

Overview

When you update a domain name’s DNS records (such as pointing an A record to a new web server or changing authoritative nameservers), the modification is not instantly visible to every computer worldwide. This interim transition period is commonly known as DNS propagation.

In this tutorial, you will learn what DNS propagation actually represents, why different users observe different results during the transition, and how to use standard command-line utilities (nslookup and dig) to test record resolution directly against public and local resolvers.


What DNS Propagation Really Means

The Domain Name System (DNS) is a globally distributed, hierarchical caching database. It does not push instantaneous notifications to billions of internet devices when a record changes. Instead, resolution operates on a pull-and-cache model:

  1. Authoritative Zone Update: You update an A record or nameserver at your authoritative DNS provider. This change takes effect on the authoritative server immediately.
  2. Recursive Resolvers & Caching: When a visitor’s web browser queries your domain, their Internet Service Provider’s (ISP) recursive DNS resolver checks whether it already has an answer saved in memory.
  3. Time to Live (TTL): Every DNS record carries a TTL (Time to Live) value expressed in seconds (e.g. 300 seconds for 5 minutes, or 86400 seconds for 24 hours). Resolvers store the query result until the TTL expires before querying the authoritative nameserver again.
  4. Gradual Expiration: Because millions of resolvers around the globe query your domain at different times, their local cached copies expire at different intervals. This staggered refresh is what users experience as “propagation.”

[!NOTE] DNS propagation does not take a universally fixed number of hours. The duration is governed by the TTL of the previous record before the change, combined with how strictly intermediate recursive resolvers honor that TTL.


How to Test DNS Records Using nslookup (Cross-Platform / Windows)

The nslookup command-line tool is preinstalled on Windows, macOS, and Linux. It allows you to query specific DNS records and test different DNS resolvers.

1. Query Your Local Default DNS Resolver

Open your terminal (PowerShell, Command Prompt, or Terminal) and run:

nslookup example.com

This returns the IPv4 address currently served by your computer’s configured DNS resolver (typically provided by your local router or ISP).

2. Query a Public DNS Resolver (Google DNS)

To bypass your local ISP’s cache and test what Google’s public resolver sees, specify 8.8.8.8:

nslookup example.com 8.8.8.8

3. Query Cloudflare’s Public Resolver

To compare against Cloudflare’s high-speed public resolver, specify 1.1.1.1:

nslookup example.com 1.1.1.1

If 1.1.1.1 returns your new server IP but your default resolver still returns the old IP, you know the update is propagating correctly and you are simply waiting for your local ISP’s cache to expire.


How to Test DNS Records Using dig (Linux & macOS)

On Linux and macOS, dig (Domain Information Grok) provides more granular diagnostic output:

1. Perform a Standard A Record Query

dig example.com +short

2. Query an Authoritative Nameserver Directly

To confirm that your authoritative nameserver has published the new record, query it directly:

dig @authoritative-nameserver.com example.com +short

If the authoritative nameserver returns the new IP immediately, your configuration is correct. Any delay experienced by visitors is purely due to downstream resolver caching.


Using Public Web-Based DNS Checkers

If you do not have access to a terminal, public web-based DNS lookup tools (such as public multi-region DNS lookup services) query multiple servers across different continents and display their current responses.

  • These tools query diverse geographic locations (North America, Europe, Asia, Australia) simultaneously.
  • A mix of green checkmarks and differing IPs across regions is standard while TTL caches expire.
  • Note that Web Hosting Wale has no commercial affiliation with third-party web lookup tools; they serve as independent diagnostic utilities.

Troubleshooting Common Propagation Issues

  • Old Site Still Loading in Browser: Web browsers maintain their own internal DNS and HTTP caches. Open an incognito/private window or flush your browser’s socket pool.
  • Local Machine Cache: Clear your operating system’s DNS resolver cache:
    • Windows: ipconfig /flushdns
    • macOS: sudo killall -HUP mDNSResponder
  • Mismatched TTLs: If you plan an upcoming migration, lower the TTL on your existing DNS records to 300 seconds (5 minutes) at least 24 hours in advance. This ensures subsequent changes propagate rapidly.

Frequently Asked Questions

Why do some people see my new website while others still see the old one?

DNS resolvers around the world cache record answers according to Time to Live (TTL) values. Users whose local ISPs still hold unexpired cache entries will continue seeing the old server until their local resolver cache expires and refreshes.

Does DNS propagation universally take 24 to 48 hours?

No. DNS propagation does not adhere to a universal fixed timeline. If an existing record had a 300-second (5-minute) TTL, resolvers will refresh within 5 minutes. If it had an 86400-second (24-hour) TTL, some resolvers may retain it for up to 24 hours.

How can I flush my local computer's DNS cache?

On Windows, open Command Prompt or PowerShell and run 'ipconfig /flushdns'. On macOS, run 'sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder'. On Linux, restart systemd-resolved via 'sudo systemctl restart systemd-resolved'.

Need Technical Assistance?

Web Hosting Wale support is available 24/7. Tickets are typically answered within 10-15 minutes.

Open Support TicketView All Support Channels