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?)

1 comment

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.

×
3 answers

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

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

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

Submit an Answer