DNS TTL value question


We had  CNAME it was pointing to Porduction and changed the DNS to DR and worked fine.  We have nameserver( resolver in both sides)
Once we changed the DNS back to  Production,  DR resolver was still pointed to DR site, but PROD resolver was pointing to PROD as we exptected.

our TTL value was set to solve to 24 hours.  After 24 hours it worked, but my question is that how come it worked right a way when changed from PROD to DR ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Matt VCommented:
Where did you make the change, and where did you check it from?

If the check was done from a DNS server with no recent query, it would have picked up the DR response.  It would then cache it for 24 hours which is why it would not revert back as quickly.

For something like that, I would lower your TTL to 15 minutes or something more reasonable for a DR failover.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
To Matt V's point
The TTLs are enforced by the caching servers.
The authoritative server/s should start responding with the new information as soon as they are made (or within the time for the notify event to reach it and the refresh to be processed.)

Depending on your response to Matt's question on where you saw it.

As to your question, the max delay is 24 hours for users who accessed your site just before you made the change they will experience the longest dealt before failing over.

Usually, your TTL duration iis an inverse proportion to the number if requests seen.
24 hour will have a single request in a day
1 sevond Ttl will mean you will have 86400 requests in a 24 hour period from a single source.

You have to decide the length of time you can tolerate for some users not being able to access your site during the transition.
How your DNS is synchronized?
mokkanAuthor Commented:
Thank  you found the solution
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.