Question

How fast is DNS propagation?

If I use your API to update the A records so they point to particular IP, how long would that take to show the changes (i.e. what is the TTL for DigitalOcean records?)

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Adding subdomain on my DNS provider will propagate in an instant but when adding it on DigitalOcean take days to propagate.

Hello, @aquicarattino

DNS changes might take up to 72 hours or even more due to ISP cache and normal DNS propagation. When it comes to DNS propagation there is not much you can do except of setting a lower TTL for the DNS records (A records) in order to speed up the process a bit. As mentioned usually the DNS changes take longer time due to DNS cache from all the IPSs.

Regards, Alex

As @Felice mentioned, there are many factors that can affect DNS propagation. Unfortunately, many of those are our of your control. Tools https://www.whatsmydns.net can help you check if the records have been updated in various locations.

When using the DigtialOcean API to set records, you can configure the TTL. By default, if you do not provide a different value, the TTL is 1800 seconds.

For more details, see our API documentation: https://developers.digitalocean.com/documentation/v2/#domain-records