3 ms·
A fun bonus detail: the libc used by many Docker containers doesn't implement TCP DNS at all, and just returns the truncated result from the UDP response as if
by tptacek 4y ago
A fun bonus detail: the libc used by many Docker containers doesn't implement TCP DNS at all, and just returns the truncated result from the UDP response as if it was the whole answer.
- rascul 4y agoIs that because they're using Alpine and Musl? I am reminded of a discussion a few months back. https://news.ycombinator.com/item?id=30642632 https://news.ycombinator.com/item?id=30642632
- InvaderFizz 4y agoProbably. Thankfully RFC9210[0] now makes the musl implementation clearly in violation of spec, so their reasoning for just truncating replies is no longer relevant. 0: https://www.rfc-editor.org/info/rfc9210 https://www.rfc-editor.org/info/rfc9210
- vbezhenar 4y agoThis is not mentioned at [0]. I guess they fixed this particular quirk. Is there any simple method to test it? 0: https://wiki.musl-libc.org/functional-differences-from-glibc.html https://wiki.musl-libc.org/functional-differences-from-glibc...
- rascul 4y agoI would be interested to know if it's been fixed. I don't have time to dig into it right now, though.