TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why updating DNS is slow

121 pointsby theBashShellover 4 years ago

9 comments

nreeceover 4 years ago
As as aside, I recently goofed up our company website DNS (updated a record on long TTL with an incorrect), but quickly fixed it and found a partial workaround to propagation: flush the DNS cache of Google[1] and Cloudflare[2]. It helped with DNS cache refresh within minutes from most global locations, if not all.<p>[1] <a href="https:&#x2F;&#x2F;dns.google&#x2F;cache" rel="nofollow">https:&#x2F;&#x2F;dns.google&#x2F;cache</a> [2] <a href="https:&#x2F;&#x2F;1.1.1.1&#x2F;purge-cache&#x2F;" rel="nofollow">https:&#x2F;&#x2F;1.1.1.1&#x2F;purge-cache&#x2F;</a>
评论 #26060912 未加载
评论 #26060203 未加载
评论 #26065326 未加载
评论 #26060289 未加载
评论 #26060540 未加载
toast0over 4 years ago
Would be nice if they didn&#x27;t stomp on real addresses.<p>&gt; The blocks 192.0.2.0&#x2F;24 (TEST-NET-1), 198.51.100.0&#x2F;24 (TEST-NET-2), and 203.0.113.0&#x2F;24 (TEST-NET-3) are provided for use in documentation.<p>-- RFC5737 <a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc5737" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc5737</a>
评论 #26060024 未加载
评论 #26059851 未加载
DomenicoMazzaover 4 years ago
Hmm.. now I realise that &#x27;live&#x27; in &#x27;time to live&#x27; is &#x27;live&#x27; as in &#x27;life&#x27;, not &#x27;live&#x27; in the &#x27;going live&#x27; sense ... It&#x27;s the record&#x27;s cache time! Engineering&#x2F;techy acronyms are a bad place for homographs...
评论 #26062679 未加载
评论 #26062297 未加载
评论 #26062675 未加载
评论 #26061951 未加载
bnjmsover 4 years ago
There are two types of useful documentation or training materials.<p>1. The detailed and accurate type which covers everything you need to know and takes time to work through and gather the parts you need to learn.<p>2. High level gists which share only the basics you need to gather the intuition for the space. This type helps make learning from the first type easier. These comics are the second type. I ran through the questions for TLS and found them helpful. I had so many questions a few months ago and these types of resources are so good for getting you to asking the right questions.
anonymousiamover 4 years ago
Once you do a (planned) migration of a few sites, you quickly learn to set the DNS TTL to something small beforehand. Alternatively (if possible), keep both IP blocks active for the TTL duration.
评论 #26062579 未加载
QuadrupleAover 4 years ago
I wonder how relevant &quot;long&quot; TTLs (5min, 30min, etc.) still are in an age of massive multi-gigabit fiber links? DNS was invented long ago, a very simple protocol with a handful of bytes per packet - a trickle amid the torrent. Waiting an hour or more for a 4-byte change (an IPv4 address) to be committed to a distributed database seems incredibly antiquated.
评论 #26061815 未加载
评论 #26061808 未加载
评论 #26061878 未加载
评论 #26069357 未加载
LogicXover 4 years ago
Not too bad! Covers the major things most forget when trying to understand this question.
yakubinover 4 years ago
In my experience, updating DNS is surprisingly fast, even though I typically set my TTLs to 3 hours. Typically I don&#x27;t have to wait more than 2-5 minutes. Faster than e.g. updating an avatar on GitHub.
PurpleFoxyover 4 years ago
This problem is pretty much fixed in Firefox. The cloudflair doh server updates records very quickly. Also has the side effect of unblocking the pirate bay for me.