What is DNS propagation?

When changes are made to a website’s Domain Name System, it takes time for the current state to be adopted by all servers worldwide. This transition phase is the DNS propagation. It can last from a few hours to several days.

Cheap domain names – buy yours now
  • Free website protection with SSL Wildcard included
  • Free private registration for greater privacy
  • Free 2 GB email account

What does DNS stand for?

Before we can understand what DNS propagation is all about, let’s first look at the meaning of DNS. DNS stands for domain name system. This system translates the name of your domain – example.com – into the actual IP address. This IP address is a sequence of numbers that would be difficult to remember. So, to make it easier for users to stay online, there is a two-pronged approach. If a user enters the name of your domain, the DNS determines the IP address of your target server. The user isn’t aware of this process and therefore only has to remember the URL of your website.

There are different types of DNS. These are the main groups:

  • A: This is where an IPv4 address is entered. The A record assigns a web server to a domain. The domain or sub-domain is also stored on the name server as an A record.
  • AAAA: This entry is similar to the A-entry, except that an IPv6 address is entered, which ensures that the browser prefers IPv6.
  • CNAME: A CNAME record connects a sub-domain to the corresponding primary domain.
  • MX: An MX record connects your website to an email service. If a visitor then writes you an email through your site, it is directed to the correct email server.
Tip

The perfect domain in just a few steps! With IONOS you can set up and register your dream domain and enjoy all the benefits. Wildcard SSL, Domain Lock, and an email account with 2 GB of storage included!

DNS propagation made simple

The best translation of the term ‘propagation’ is ‘transmission’. When you change your DNS record, this change may take a little time. This time is called DNS propagation. For example, if you adjust your DNS record or change your hosting provider or name servers, this update may take some time. DNS propagation varies depending on the server and workload. So, initially, during the transition period, some providers may still be accessing your old server, while others are already targeting the current IP address.

One reason for DNS propagation is that changes themselves can take a little time. At the same time, however, new IP addresses are not continuously queried by DNS servers. This would otherwise lead to an overload. Instead, the information is temporarily stored in a cache. Only when this cache has been updated by all servers, will your website be up to date everywhere.

The role of the name server

Another factor that is relevant for DNS propagation is the name server. A name server takes care of the name resolution. This is the connection of your domain, which consists of a term that is easy to remember and an ending (example.com), with the IP address, which is made up of a combination of numbers. Name servers are therefore also called DNS servers. As soon as a visitor clicks on your website, the name server establishes a direct connection to the IP address. If the DNS server is changed or adjusted, it can take some time until the updates take effect everywhere.

DNS zone and TTL value

The DNS zone refers to the organisational area of the DNS. This serves to better bundle individual domains and helps to find them faster. This zone includes at least one domain and, optionally, additional sub-domains.

The so-called TTL value is decisive for DNS propagation. TTL stands for ‘time to live’ and defines how long settings are temporarily stored and when an update takes place. So, if the TTL value is 24 hours, it takes one day for changes to take effect. The TTL value can be adjusted so that changes occur sooner. However, this adjustment must be made before the update, because it also falls under DNS propagation and so only takes effect after some time.

Tip

Get your own cloud infrastructure with IONOS! Cloud servers from IONOS are versatile and offer unbeatable value for money. Thanks to the numerous options available, you’re sure to find just the right package!

The duration of DNS propagation depends on the ISP

Another factor that contributes to the duration of DNS propagation is your Internet Service Provider (ISP). On one hand, the ISP caches the DNS data locally to enable faster browsing, and on the other hand, it reduces data traffic. However, this can have a negative impact on DNS propagation. In addition, there are ISPs that ignore TTL settings and perform the update only after hours or even days.

Server location

The location of your server also plays a role in the duration of DNS propagation. Although the changeover can take effect after a short time in the environment or with secondary DNS servers, it often takes much longer on the other side of the world. This is also due to the fact that the different servers inform each other about the change one after the other. Since the updates, as mentioned, are not permanent, but only occur at certain time intervals, the final and widespread effectiveness of the change can take a long time.

DNS propagation time

But how long does the actual DNA propagation take? This answer depends on the factors mentioned above and can basically vary greatly. Local servers usually adopt changes after just a few hours. However, it can take considerably more time before all name servers worldwide are informed about the changes and these take effect. While anything between 12 and 48 hours is normal, depending on the provider and settings, it can happen that worldwide effectiveness is only achieved after 72 hours. Therefore, it’s important to schedule DNS propagation in advance when a change or switch is pending.

Possibilities to keep DNS propagation short

DNS propagation can be a nuisance in some circumstances, but unfortunately it can’t be completely avoided. Fortunately, there are ways you can minimise the duration or at least work around problems. This way, your website will quickly be accessible again anywhere in the world at its current state.

If you haven’t yet changed your name server, you can already ensure in advance that the DNS propagation remains as compact as possible. To do this, set the TTL value in the A record on the side of your current server to the minimum. This can vary depending on the provider. Then wait 30 minutes and change the name server for your domain. This way, your domain redirects to the new server when the DNS propagation has been completed. Wherever the conversion has not yet taken place, it will still link to your old server, but will at least show the latest version of your website.

If you’ve already completed the move to a new name server, Google provides a DNS tool that allows you to view the new version of your website. The exact steps can be found on the platform page. Afterwards, clear your browser’s cache and then your DNS cache. Now you should already see the current version of your website.

DNS propagation check

Nevertheless, you still can’t say for sure without tools whether your website’s DNS propagation has been completed. While the status may already be stored in your environment, servers abroad may still have an old status cached. Fortunately, there are several ways to do a DNS propagation check of stored DNS records. The pre-installed standard for Windows, macOS, and Linux, for example, is nslookup, which helps you with name resolution problems and displays the status of all servers. The alternatives ping and traceroute work similarly.

Other external DNS checkers test DNS propagation by targeting a selection of random servers and querying your DNS information there. Because servers are spread all over the world, you don’t have 100% certainty that DNS propagation has been completed everywhere, but at least a good indication. Popular providers include whatsmydns and Google, which offers the DNS check via the toolbox.

Summary: DNS propagation should be carefully considered

When moving from one server to another or when making changes that are relevant to the Domain Name System, you should always factor in DNS propagation. This is especially important if time is a factor, should for example the old DNS server not respond or if you’ve become a victim of DNS spoofing, DNS hijacking or a DNS leak. Although you have a few options to shorten DNS propagation, it still always takes some time until every server worldwide is up to date.

Tip

The best protection for your domain: Domain Guard from IONOS offers a host of security features to protect your website from unauthorised access. Simply add Domain Guard to all your existing domains!

Was this article helpful?
Page top