When you change a DNS record and it does not update everywhere at once, nothing is broken. That gap is caused by TTL and DNS caching, and understanding both explains why a change you just made in cPanel can take minutes or hours to reach every visitor. This Ultra Web Hosting guide covers what TTL actually is, how caching works across the internet, how to plan a change so the switch is fast, and how to check what the world is currently seeing.
- What TTL Actually Is
- How DNS Caching Works Across the Chain
- TTL and "Propagation": The Honest Explanation
- Choosing a TTL: Long vs Short
- The Planned-Change Playbook
- Where to Set TTL in cPanel
- Checking the Current TTL and Remaining Cache
- Flushing Local Caches
- Troubleshooting: Some Visitors See the Old Site
Nothing Gets Pushed, Caches Just Expire
Every DNS record carries a TTL, a number of seconds that tells resolvers how long to remember the answer before asking again. A record change is not broadcast to anyone. Old cached copies simply keep serving until their TTL runs out, then the next lookup fetches the new value. Plan around that and changes feel instant.
- TTL is a per-record value measured in seconds
- Resolvers cache your answer for exactly that long
- Lower the TTL before a change, raise it back after
- There is no way to flush caches you do not control
Lower the TTL a Day Ahead
The single move that turns a slow, uneven DNS switch into a quick one: drop the record's TTL to 300 a day or two before you make the change, wait for the old long TTL to fully expire, then edit the record. New lookups now refresh every five minutes instead of every hour or day. Raise the TTL back once the change has settled.
- Lower TTL to 300 well before the change
- Wait out the old TTL so caches hold the short value
- Make the record change, confirm, then raise TTL back
- This works for A, CNAME, and MX records alike
01. What TTL Actually Is
TTL stands for Time To Live. It is a value attached to every DNS record, expressed in seconds, that tells any resolver how long it may cache the answer before it has to ask again. A record with a TTL of 3600 may be remembered for one hour. A record with a TTL of 300 may be remembered for five minutes. Once that clock runs out, the cached copy is discarded and the next request goes back to your authoritative nameservers for a fresh answer.
TTL is set per record, not per domain. Your www A record can have a TTL of 86400 while a record you are actively migrating sits at 300. Common values you will see in the wild:
300- five minutes. Fast to change, slightly more query traffic.3600- one hour. A sensible default for most records.86400- one full day. Good for records that almost never change.
TTL does not affect how fast your website loads, and it does not make DNS "more reliable." It only controls how long the answer is remembered before a resolver checks again. A long TTL means fewer lookups and slightly faster resolution for repeat visitors; a short TTL means changes take effect sooner. That is the entire trade-off.
02. How DNS Caching Works Across the Chain
When someone types your domain, the answer is not fetched fresh from your nameservers every time. It passes through a chain of caches, and each link can hold a copy for up to the TTL:
- Your device. The operating system keeps a small DNS cache. Your browser keeps its own on top of that.
- Your router. Most home and office routers cache DNS for the whole local network.
- Your ISP resolver. The recursive resolver your ISP runs caches answers for every customer, which is where most of the "lag" lives.
- Public resolvers. If you use Cloudflare's
1.1.1.1or Google's8.8.8.8instead of your ISP, those hold their own caches shared by millions of users. - Your authoritative nameservers. The source of truth. On Ultra Web Hosting that is
ns1.ultranameservers.com,ns2.ultranameservers.com, andns3.ultranameservers.com. This is the only copy you edit.
Here is the key point: a change you make at the authoritative layer is only seen by a given resolver after that resolver's cached copy expires. Your home router might still hold the old answer for another 40 minutes while a public resolver on the other side of the country already fetched the new one. That is why a change looks "done" on your phone's mobile data but not on your office wifi at the same moment.
Two people looking up the same record at the same instant can get different answers, because they are hitting different caches that expire on different schedules. Nobody has stale data on purpose. Every cache is simply counting down its own copy of your TTL.
03. TTL and "Propagation": The Honest Explanation
You will hear people say DNS changes need time to "propagate," as if your new record is being pushed out across the internet. That is not how it works, and the misunderstanding causes a lot of needless anxiety during a migration.
There is no push. Nothing is broadcast. When you save a record, your authoritative nameservers update immediately, within seconds. Every other cache in the world keeps serving its old copy until that copy's TTL expires, and only then does it come back and pick up your new value. "Propagation" is just the sum of all those caches timing out at their own pace.
Changes Are Pushed
A common but wrong mental model. It implies you must wait for some slow global distribution and that there is nothing you can do to speed it up.
- Suggests a broadcast you cannot influence
- Leads to guessing at "24 to 48 hours"
- Offers no way to plan ahead
Caches Expire
Your nameservers update instantly. The wait is only the TTL of the old record draining out of every cache that still holds it.
- Worst case equals the old record's TTL
- You control it by setting TTL ahead of time
- A 300-second TTL means a five-minute worst case
The practical takeaway: the maximum time anyone can be stuck on your old record is the TTL that was in effect before you made the change. If that TTL was 86400, some caches will hold the old answer for a full day. If you had already lowered it to 300, the longest anyone waits is five minutes. This is why the playbook in Section 05 lowers the TTL first.
04. Choosing a TTL: Long vs Short
There is no single correct TTL. The right value depends on how often the record changes and how much you care about fast switches versus minimal query load.
Stable Records
Best for records that rarely change: a website A record on a fixed IP, or MX records pointing at a mail provider you are not moving.
- Fewer lookups back to your nameservers
- Slightly faster resolution for repeat visitors
- Downside: changes take up to that long to clear
Records You Are Moving
Best when a change is coming soon, or for records tied to failover, load balancing, or anything that shifts often.
- Changes take effect within about five minutes
- Slightly more query traffic to your nameservers
- The extra load is negligible for a normal site
For a typical hosting account, 3600 is a fine everyday value for most records. Drop to 300 only around a planned change, then put it back. Going below 300 rarely helps and just adds query noise; many resolvers quietly enforce a floor anyway.
05. The Planned-Change Playbook
This is the sequence that makes a DNS migration or IP change feel quick and clean. It works because you shrink the TTL before you make the real change, so the old value has already drained out of every cache by the time it matters.
- A day or two before the change, edit the record in cPanel Zone Editor and lower its TTL to
300. Do not change anything else yet. - Wait out the old TTL. If the record was previously at 86400, wait a full day so every cache has fetched the new short-TTL version. This step is the whole point; skipping it wastes the effort.
- Make the actual change. Update the record's value (the new IP, new MX target, and so on). With TTL at 300, caches now refresh every five minutes.
- Confirm the new value is live using the DNS Lookup tool at
tools.ultrawebhosting.com, or withdigas shown in Section 07. - Once everything is confirmed stable, raise the TTL back to
3600(or higher) so you are not paying the extra query cost long term.
Make lowering the TTL the very first thing you do for any planned migration, before you even provision the new server or mailbox. The lead time costs you nothing and it is the difference between a five-minute cutover and a day of visitors split across two servers. If you forget this step, you cannot retroactively shorten the wait; you are stuck with whatever TTL was already cached.
06. Where to Set TTL in cPanel
If your domain uses our nameservers (ns1, ns2, and ns3.ultranameservers.com), you set TTL per record in the cPanel Zone Editor.
- Log in to cPanel and open Zone Editor under the Domains section.
- Find your domain and click Manage.
- Locate the record you want to adjust, click Edit, and change the TTL field to the number of seconds you want (for example
300or3600). - Click Save Record. The new TTL applies to lookups that happen from this point forward.
Editing the TTL of a record is itself a DNS change, so the new TTL only takes effect once the old cached copy expires. That is exactly why you lower it ahead of time. For a full walkthrough of the Zone Editor, see our guide "How to Manage DNS Records in cPanel Zone Editor." For what each record type does, see "A Guide to DNS Record Types." If your DNS is hosted at Cloudflare or another provider instead of on our nameservers, set the TTL there rather than in cPanel.
TTL is not just a website concern. Your MX records carry a TTL exactly like A records do, so an email provider switch waits on cached MX copies the same way. Lower the MX record's TTL ahead of a mail migration just as you would for a site move. See How Do I Change My MX Records for the record edits themselves.
07. Checking the Current TTL and Remaining Cache
You do not have to guess what the world is seeing. Two easy ways to check the live TTL:
Our DNS Lookup Tool
The fastest option is the DNS Lookup tool at tools.ultrawebhosting.com. Enter your domain, pick the record type, and it shows the current value your authoritative nameservers are serving along with the TTL. Use this to confirm a change is live at the source.
Using dig
On macOS or Linux (or Windows via WSL), dig shows the TTL as a number that counts down. Run it twice a few seconds apart against a public resolver and watch the number drop; when it hits zero, that resolver fetches a fresh copy.
dig @1.1.1.1 www.yourdomain.com A
;; ANSWER SECTION:
www.yourdomain.com. 2847 IN A 203.0.113.10
That 2847 is the seconds remaining before Cloudflare's resolver re-fetches this record. Query your authoritative nameserver directly to see the full configured TTL rather than a countdown:
dig @ns1.ultranameservers.com www.yourdomain.com A +noall +answer
To see the value a specific network is currently caching, query the resolver that network uses. Querying 8.8.8.8 and 1.1.1.1 and your ISP's resolver in turn shows you exactly which caches have picked up your change and which are still counting down the old one.
08. Flushing Local Caches
You can clear the caches you control: your own browser and operating system. You cannot flush your ISP's resolver, a public resolver, or a visitor's device. Those only clear when their TTL expires. Flushing is useful when a change is confirmed live at the source but your own machine still shows the old result.
# Windows (Command Prompt or PowerShell)
ipconfig /flushdns
# macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
# Linux (systemd-resolved)
sudo resolvectl flush-caches
# Browser: also clear the browser's own DNS cache.
# Chrome: visit chrome://net-internals/#dns and click Clear host cache.
There is no command that clears a change into an ISP resolver or a visitor's device. If someone reports still seeing the old site, they must wait out the TTL, flush their own machine, or switch to a public resolver that has already refreshed. This is precisely why lowering the TTL beforehand matters: it shrinks the longest possible wait for everyone, including people you will never be able to reach.
09. Troubleshooting: Some Visitors See the Old Site
Half my visitors see the new site and half see the old one. Normal and temporary. Different caches at different stages of the chain are expiring on their own schedules. Give it up to the old record's TTL. If that TTL was long and you did not lower it first, this is the day-long tail you are paying for.
I see the change but a colleague does not. Your machine or resolver already refreshed; theirs has not. Have them flush their local cache (Section 08) or wait out the TTL. Nothing is misconfigured.
The change is not showing anywhere, even at the source. That is not a caching issue, it is likely the record itself. Confirm the record saved correctly and that your domain is actually on our nameservers with the DNS Lookup tool at tools.ultrawebhosting.com. See DNS Changed But Site Not Showing for the full checklist.
My domain still loads a parked or placeholder page. That can be a pointer or parked-domain configuration rather than pure caching. See Domain Pointers and Parked Domains to check how the domain is set up.
Email started bouncing right after an MX change. Cached MX records are still routing to the old server. Same TTL rules apply; it clears as the old MX TTL drains. Confirm the new MX at the source, then wait it out. See How Do I Change My MX Records.
Planning a Migration and Want the Timing Right?
If you have a server move, IP change, or mail provider switch coming up, open a ticket and we will help you set the TTLs ahead of time so the cutover is quick and clean. We can confirm what your authoritative nameservers are serving and time the change with you.
Open a Support TicketQuick Recap: TTL and DNS Caching
If you remember only a handful of things from this guide, make it these:
- TTL is seconds of caching. Every record carries one, and it tells resolvers how long to remember the answer before asking again.
- Nothing is pushed. Your nameservers update instantly; the wait is just old cached copies draining out at their own TTL.
- The old TTL is the worst case. The longest anyone stays on the old record equals the TTL that was in effect before you changed it.
- Lower TTL before a planned change, wait out the old value, make the change, then raise the TTL back afterward.
- Check with our DNS Lookup tool or dig, and flush only your own browser and OS caches. You cannot flush other people's resolvers.
- MX records follow the same rules, so treat a mail move exactly like a site move and lower the MX TTL ahead of time.
Last updated July 2026 · Browse all DNS articles
