Resources:
Categories:
Give us your email and we'll send you the good stuff.
Categories:
Heather Oliver is a Technical Writer for Constellix and DNS Made Easy, subsidiaries of Tiggee LLC. She’s fascinated by technology and loves adding a little spark to complex topics. Want to connect? Find her on LinkedIn.
https://www.linkedin.com/in/heather-oliver
With so many DNS records that are used for so many different purposes, it can be hard to know what the best time to live (TTL) settings should be. That’s why for this DNS tip, we’re giving you recommendations for the most common scenarios.
For websites or applications that provide mission-critical services, use Failover, and require a high amount of changes.
Best for websites that require frequent updates, but that still want to reduce resource consumption.
Ideal for websites that receive regular updates
Allows for caching, but is still flexible enough for fast changes when necessary.
Best for websites that want a daily cache utilization for faster site upload speeds.
TTL values can be set to whatever value you want, but these are the most common settings for most domains. Your specific needs and goals are what determine the value you ultimately set. Even if a record has a long TTL, you can ensure changes are seamless with careful planning.
The point of using Failover is to avoid downtime. With that in mind, for records using a Failover configuration, we recommend setting TTL values at 30 seconds, but no more than 300.
Records using advanced features like load balancing and GeoDNS should use TTL settings on the shorter side.
Like Failover, TTL for DNS records for mission-critical applications and services should also be set to a maximum of 300 seconds, and the lower the better.
Tip: While you can set TTL as low as 0 for a DNS record in Constellix, some resolvers may not support values under 30 seconds. If you want a TTL value that is less than 30 seconds, be sure to test the record first.
For mail and text records, it is recommended to use longer TTLs, ideally between 1400 and 3600 seconds.
For records that point to your web server, we typically recommend setting TTL at 86400 (24 hours), depending on the frequency of which your records need to be updated.
The reason TTL values are so important is that they are what dictates how long a resolver will cache your DNS record information. When you make changes to a record, the change will not be reflected at all servers globally until the TTL for the original value has expired and the server needs to make a request for the updated information.
Related Resources:
Sign up for news and offers from Constellix and DNS Made Easy