I guess alternatively you could return garbage (127.0.0.1) with a 5 min ttl or so to get clients to backoff but also problematic.
I guess alternatively you could return garbage (127.0.0.1) with a 5 min ttl or so to get clients to backoff but also problematic.
I use 0.0.0.0, though I'm not sure if some layer in that mess would interpret it creatively. Has worked on my machine for years at least:
$ ping facebook.com
connect: Invalid argument
(If you do this, please set the TTL to at least a month, and preferably upwards of a decade.)Does DNS support extensibility?
If so, an option could be responding with a fake answer like 0.0.0.0 + some TTL, plus an extension that tells modern clients "hey, this is actually a SERVFAIL but please cache it for the TTL".
because of this there are lots of settings in most servers to ignore and sanitise shitty responses.
Exponential backoff is a really bad antipattern that harms users. There are other, better ways to shed load.
Also, there's no evidence that any DNS infrastructure was overloaded during this event, so what are we even discussing?
And what about a five minute "blip"? Arguably it should resume proper operations as soon as the link goes back up, not some (unknown to user) time afterwards.