DEV Community

Cover image for DNS Propagation Explained: Why Your New Website Looks Broken (And How to Check It)
Himani Desuza
Himani Desuza

Posted on

DNS Propagation Explained: Why Your New Website Looks Broken (And How to Check It)

So you just bought a domain, pointed it to your hosting, and... nothing. Blank page. "This site can't be reached."

You check with your friend in another city and they say: "It works fine for me!"

What's happening? You're experiencing DNS Propagation.

What is DNS Propagation?

When you change your domain's nameservers or DNS records (like an A record), that change doesn't happen instantly everywhere in the world.

Think of DNS like a global phone book. When you update your number, it takes time for every phone book in every city to get the new edition. Some people are still looking at the old book.

This delay is called propagation. It can take anywhere from a few minutes to 48 hours.

Why Does My Friend See It But I Don't?

Internet Service Providers (ISPs) cache (save) DNS information to make browsing faster. Your local ISP might still be showing you the old cached version, while your friend's ISP has already grabbed the fresh one.

Clearing your browser cache won't fix this. This is happening at the network level.

How To Check If Your DNS Has Propagated

Instead of waiting and guessing, you can check your DNS records from multiple locations around the world simultaneously.

I built a simple free tool for exactly this purpose:

🔗 getdnsinfo.com

Just enter your domain name and select the record type (A, CNAME, MX, TXT, etc.). The tool queries DNS servers globally and shows you exactly which locations see the new records and which are still showing the old ones.

This is especially useful for:

  • Web Developers launching a client site on a new server
  • Beginners troubleshooting their first domain setup
  • Anyone switching hosting providers

A Quick Tip If You're Stuck

While waiting for propagation, you can temporarily edit your computer's hosts file to force your machine to see the new IP address. This lets you work on the site even while the rest of the world catches up.

  • Windows: C:\Windows\System32\drivers\etc\hosts
  • Mac/Linux: /etc/hosts

Add a line like:
123.123.123.123 yourdomain.com www.yourdomain.com

(Just remember to remove it later!)

Final Thoughts

DNS propagation is a waiting game, but knowing how to check it makes the wait less frustrating. If you're launching a site this week, bookmark a DNS checker and save yourself the headache of wondering "is it just me?"

Have you ever had a DNS issue drive you crazy? Let me know in the comments!

Top comments (0)