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 …
-
Show this thread
-
Overall it seems accurate and fair (which I think some Alpine ppl were worried it might not be), but I do think it was missing a little bit of context.
1 reply 0 retweets 0 likesShow this thread -
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
1 reply 0 retweets 0 likesShow this thread -
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.
1 reply 1 retweet 0 likesShow 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.
2 replies 3 retweets 3 likesShow this thread
Rich Felker Retweeted Justin Cormack
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 …
Rich Felker added,
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.