问题原文
原帖链接 · Moha the almighty camel · CC BY-SA 3.0
I have been looking for an answer to that question (the one in the title) and the best thing I've found was:
In DNS Protocol design, UDP transport Block size (payload size) has been limited to 512-Bytes to optimize performance whilst generating minimal network traffic.
my question is: how exactly does this enhance performance and are there any other reasons for this limitation when using UDP ?
社区高分解答
原帖链接 · Håkan Lindqvist · CC BY-SA 3.0
Modern DNS is not actually limited to 512 bytes payload for UDP anymore.
With EDNS0 in use a larger payload size can be specified, which is also commonly the case for DNSSEC-aware clients.
The support for larger payloads over UDP has been a double-edged sword, however, it is in part the reason why using nameservers for amplification attacks has become more popular as you can achieve better amplification if the attacker uses a query that gets a large response.
See rfc2671 for the nitty-gritty details of EDNS0
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
