4 ms·
The part that's missing in DNS is the ability to tell people that the cache expired. You can't really do this in DNS itself since a cached response will never h
by arp242 6y ago
The part that's missing in DNS is the ability to tell people that the cache expired. You can't really do this in DNS itself since a cached response will never hit the network. You could add a signal in the application protocol for example: <meta name="dns-refresh" value="[.. some date ..]">.
You'd also have to do that for SMTP, IMAP, etc. Probably not worth the complexity as low TTLs seem to work well enough with few enough downsides. DNS is already a tricky enough protocol.
- pas 6y agoUse a new (sub)domain. Your main domain can then simply redirect to whatever subdomain you wish.
- ProtoAES256 6y agoA new subdomain normally will do the trick, but might be suboptimal due to the work needed to be done according to scale/tech/job involved. For example, doing this as a sys in a big company requires jumping through bureaucracy hoops, not to mention setting up ssl for it(I know there is letsencrypt but you know, some coporate doesn't want them). A short TTL will just be "Well just try it again in 10 minutes and it'll work."
- selcuka 6y agoBesides we might still want other caches (such as the browser cache) to work. A new subdomain would invalidate those too.
- csunbird 6y ago(offline) Cache invalidation is a very hard thing to do. If you are going to ask the network if your DNS cache is still valid, you might as well get the latest value anyways, since DNS queries are tiny.
- znpy 6y agoNot all the world is HTTP and/or web stuff. For a lot of things changing domain is quite a hassle, and the old domain will still be around, cached, and considered valid (because its ttl hasn't expired yet). I agree with GP in saying that a short TTL never created too much issue. Now, to come to the original issue: short ttl. What do you expect, in this day and age? With all this cloud stuff going up and down, being created and destroyed again and again, ephemeral stuff that doesn't even last a whole single day... Of course you need a short ttl.
- izaac 6y agoThe event horizon of the stupidity singularity just became a little better defined.