Web Hosting Forum - Explore the Latest in Web Hosting Discussions

We are a community of individuals and businesses passionate about web hosting. Let's build, learn, and grow together.

Tutorial How to verify DNS propagation

NhtAdmin 

NHT Manager
Administrator
When we migrate a website from one server to another, our hosting provider often tells us that we have to wait for the DNS propagation time to see our site from the new server.

This is quite normal because the IP change in DNS records takes a maximum of 72 hours to spread worldwide through each ISP in each country.

There are many ways to verify DNS propagation when we change our website at the DNS record level.

One of the more traditional ways of doing it is using the famous command dig that is present in Linux and Unix:

For example:
You don't have permission to view the spoiler content. Log in or register now.

Or for an MX record, for example:
You don't have permission to view the spoiler content. Log in or register now.

Also, if we use the ping command, it is possible to know how some type A record responds, for example:
You don't have permission to view the spoiler content. Log in or register now.

On Windows, you can also use the nslookup command, as seen below:
You don't have permission to view the spoiler content. Log in or register now.

One disadvantage of this method is that it only serves to verify how a DNS record responds from a single location, that is, from your local network through your ISP, whether we use ping or dig.

There are also several more automated ways to check how DNS propagation responds from different parts of the world.
You don't have permission to view the spoiler content. Log in or register now.

Using DNS checking tools, it is possible to know massively and in just a few seconds how a specific type of DNS records responds from different countries on different continents.

As you can see, DNS records can be obtained without a problem using a manual method from your local network or automated tools.
 
  • Advertisement
  • Just to add to this useful information, you can try

    dig +trace domain.com

    It gives a lot more information and sometimes even helpful with finding which DNS server is giving new or old records etc...
     
  • Advertisement
  • Advertisement

    Back
    Top