关于 DNS 的 512 字节2023-06-20翻阅 DNS 的 RFC1035 的时候注意到一句话,通过 UDP 传输的消息被限制在 512 字节以内 Messages carried by UDP are restricted to 512 bytes (not counting the IP or UDP headers). Longer messages are truncated and the TC bit is set in the header.