A Web.com Partner
Sign Up / Log In
Online Support Web Hosting

Updating the TTL Value of Your DNS Using cPanel

TTL or Time to Live, also known as Hop Limit, is a numerical value that is attached to each DNS record. The numerical value is normally set in seconds; so if you want a 24-hour TTL value, the equivalent in seconds would be 86400. This value tells the resolver how long it should remember or cache the DNS query and when it should require a new one. Therefore, if the TTL is set to 86400, the DNS will be cached for 24 hours and a new DNS query will be sent once the period expires.

Caching allows a faster internet experience because it requires lesser time to lookup a DNS from your local resolver. So if you’re not making any DNS updates every so often - such as updates on your A Record, CNAME Record, or MX Record, among others - then a standard 24-hour period for caching would be ideal. This means that if you have a website, people who frequently look it up will be able to load it faster.

On the other hand, if for example you have made a new website and you would like to update your A Records, a TTL value of 86400 would mean that the old website will still show across the internet within the 24-hour window. After 24 hours and the caching period has expired, your DNS update will have fully propagated across the internet and your new website will appear. You can shorten the propagation period by lowering the TTL value first. Remember that lowering the value will also take time to propagate. Once it has been already lowered, then you can make any DNS update with shorter propagation period.

Updating the TTL Value

You can update the TTL value of your DNS via the Advanced Zone Editor in your Hosting Manager using the steps below:

Step 1. Access your Hosting Manager.
Step 2. Scroll down to Domains tab, then click the Zone Editor option.
zone editor option in cPanel
Step 3. Select the domain name you want to manage from the list, and click the corresponding Manage button.
zone editor option in cPanel
Step 4. Choose the type of DNS record you want to edit from the table and click the Edit button.
zone editor option in cPanel
Step 5. Update the TTL value record, then click Save Record.
zone editor option in cPanel

Note: If you have lowered your TTL value to make some DNS updates and your updates have already fully propagated, be sure to set your value back to a standard of 86400 to avoid overloading the server with a huge amount of queries at once.

The TTL value is applied immediately but may take up to 2 hours to propagate across the internet. If you have updated your TTL value and have seen no change, please wait for this propagation to finish. Otherwise, it is advised that you contact us.

Was this helpful? Yes No 48% of people found this helpful.