2 ms·
> If this is not the case, ephemeral port exhaustion would kick in, at which point the DNS server will not be able to server other requests. You can use the sa
by toast0 5y ago
> If this is not the case, ephemeral port exhaustion would kick in, at which point the DNS server will not be able to server other requests.
You can use the same local ip/port to contact multiple server ip/ports, so filling up connections to FB ips shouldn't prevent you from connecting to others (but there are plenty of ways to do that wrong, I guess)
>> On the authoritative side, it's not too hard to manage this load
> Of course not, all you need to do is just present any response which will be cached by downstream resolvers.
You need to present a response before the resolver times out. One can certainly imagine a situation where the incoming packet processing results in enough delay that the responses arrive too late and are discarded. In the right conditions, this queuing delay would never clear and things just get worse. If it doesn't happen, great, but if it does, dropping most of the requests so you can timely handle the few you accept is a good way to get moving.
- haimez 5y agoGood ol’ CoDel - https://en.m.wikipedia.org/wiki/CoDel https://en.m.wikipedia.org/wiki/CoDel