Thanks @n_copa for letting me know video from @miekg's DNS talk is up. I'd seen slides but waited to see/hear it before trying to give any response.https://www.youtube.com/watch?v=ZnW3k6m5AY8 …
In regards to RFC 5966 (https://tools.ietf.org/html/rfc5966 ), there is some relevant content just below the quoted text:pic.twitter.com/q9odhkZ3oj
-
-
A UDP response fits approx. (496-strlen(hostname))/16 A records or (496-strlen(hostname))/28 AAAA records. That's 15 or 8 even for a max-length (255) hostname. Far more than you can comfortably (without major delays) try connecting to in a fallback loop.
Show this thread -
My choice not to do TCP in musl's stub resolver was based on an interpretation that truncated results are not just acceptable but better ux - not only do you save major round-trip delays to DNS but you also get a reasonable upper bound on # of addrs in result.
Show this thread -
This is a really good point - for applications that need exact specialized behavior of some sort rather than just getaddrinfo for connecting to hosts, a specialized DNS library is what you probably want.https://twitter.com/justincormack/status/994656216360992768 …
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.