(Adapted from here: https://news.ycombinator.com/item?id=21380936 and from the original https://www.karlton.org/2017/12/naming-things-hard/ )
> There are only two hard things in Computer Science: cache invalidation and naming things. --Phil Karlton
Random reference, https://martinfowler.com/bliki/TwoHardThings.html
Oh hang on let me take this call.. yes I wrote the dns sever, ah so it runs out of memory, uh huh, wait how many unique domai-, mm, a 2000 second TTL is pretty low actu-, wait years?!, no you're right stability is important, no I can't fix the whole world, ok, so like an LRU, yeah that would be a start at least, ok bye.
Wait a second.. THERE YOU ARE! You little rascal, you were trying to hide from me weren't you. You're a good little problem, yes you are, you're going to torture me later aren't you?, yes of course you will, it's a good thing you're so cute huh. Good now run along and go play with the other nightmares. Look at em go, wow they grow up in complexity so fast.
Anyways what we were talking about? Oh yeah "just" expiring the cache.
But the protocol does support it. So, if you really need invalidation, go talk to the world's resolvers and ask them to process dns NOTIFYs from your authoritative DNS servers.
[^1] https://www.wikiwand.com/en/Dunning%E2%80%93Kruger_effect