5 ms·
What is so wrong with DNS over UDP? It's worked like that since it was invented. Surely making sure your cluster has a UDP-accessible DNS service can't be that
by bradwood 4y ago
What is so wrong with DNS over UDP? It's worked like that since it was invented. Surely making sure your cluster has a UDP-accessible DNS service can't be that hard. I think this is not an unreasonable decision for the musl maintainers to take.
Is there an RFC that deprecated DNS over UDP?
- more_corn 4y agoIf your dns response won’t fit in a udp packet dns needs to flip to tcp or dns just silently breaks. A docker image that wont work in large k8s deployments is broken. The thing that breaks it is broken. Broken by design is still broken. I think it’s a pretty unreasonable design decision.
- shp0ngle 4y agoNo, that’s why UDP is default and TCP is expected to be a fallback.
- tptacek 4y agoDNS over TCP has been standardized since before many people on HN were born. The "problem" with UDP is that there are limitations on UDP datagram sizes. DNS is designed to deal with this: there's a "truncation" bit in the header that tells resolvers to repeat their queries over TCP.