Time to Live (TTL) determines how long DNS servers cache a record before checking for updates. Lowering the TTL before making DNS changes helps propagate them faster across the internet. cPanel allows you to change the TTL value for individual DNS records through the Zone Editor.
How to Change the TTL Value
- Log in to your cPanel account.
- Scroll to the Domains section and click on Zone Editor.
- Find the domain you want to modify and click Manage.
- Locate the DNS record whose TTL you want to change, then click Edit in that row.
- In the Edit Record dialog, update the TTL field. You can select a predefined value (e.g.,
3600for 1 hour,14400for 4 hours) or type a custom value in seconds. - Click Save Record to apply the change.
Common TTL Values
300— 5 minutes (recommended before planned DNS changes)3600— 1 hour14400— 4 hours (default on many cPanel servers)86400— 24 hours (1 day)
Important Notes
- TTL values are specified in seconds.
- If your domain uses external nameservers (e.g., Cloudflare, your registrar), changes made in cPanel will have no effect. You must update the TTL at your DNS provider.
- After DNS changes are fully propagated, it is good practice to restore the TTL to a higher value to reduce DNS query load.
- DNS propagation can take up to 48 hours globally, depending on the previous TTL setting.
Troubleshooting
- Zone Editor is missing: Your hosting provider may have disabled it. Contact support for assistance.
- Changes not taking effect: Verify your domain is using the server's nameservers. Run
dig +short NS yourdomain.comto check. - Cannot save the record: Ensure the TTL value is a valid positive integer (minimum is typically
300seconds, depending on server configuration).