Command to Check DNS Propagation from Terminal

What if you didn’t have to use some 3rd party tool like DNSChecker.org to check the DNS propagation?

What if you could do this right into your terminal itself?

Just a simple command and you’re done.

dig compile.blog +noall +answer

Copy-paste the above command into your terminal, replace the existing compile.blog with the website address that you wanna check, and hit enter.

You’ll see the IP address associated with your website as shown below:

compile.blog.           0       IN      A       192.0.78.25
compile.blog.           0       IN      A       192.0.78.24

And, if the IP address shown here matches with the IP of your web server, your domain DNS propagation is complete.

Yes, you won’t be able to see other details like the location as they show in DNSChecker.org, but this definitely works and very simple to use too.

That’s it.

Let me know your thoughts in the comments, right now.

Also, share the article with the people who you think might be interested in reading it.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

2 Comments

  1. Rob Record says:

    Hi Deepak,

    I had thought the benefit of using the online tools is they show you the result of the DNS from all around the world – hence the “propagation” to worldwide DNS servers.

    I was under the impression that command you suggested would just check your locally defined DNS server, or am I wrong?

    1. Hey Rob, the command only checks if the DNS propagation is complete from “your” location, it doesn’t check for other locations.