bind9/lib/dns/win32
Ondřej Surý bb990030d3 Simplify the EDNS buffer size logic for DNS Flag Day 2020
The DNS Flag Day 2020 aims to remove the IP fragmentation problem from
the UDP DNS communication.  In this commit, we implement the required
changes and simplify the logic for picking the EDNS Buffer Size.

1. The defaults for `edns-udp-size`, `max-udp-size` and
   `nocookie-udp-size` have been changed to `1232` (the value picked by
   DNS Flag Day 2020).

2. The probing heuristics that would try 512->4096->1432->1232 buffer
   sizes has been removed and the resolver will always use just the
   `edns-udp-size` value.

3. Instead of just disabling the PMTUD mechanism on the UDP sockets, we
   now set IP_DONTFRAG (IPV6_DONTFRAG) flag.  That means that the UDP
   packets won't get ever fragmented.  If the ICMP packets are lost the
   UDP will just timeout and eventually be retried over TCP.
2020-10-05 16:21:21 +02:00
..
DLLMain.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
gen.vcxproj.filters.in Introduce end-of-line normalization 2015-09-29 08:25:35 +10:00
gen.vcxproj.in Disable MSB8028 warning 2020-04-15 13:37:12 +02:00
gen.vcxproj.user Convert *.vcxproj.user to CRLF line endings 2019-03-08 18:01:48 +01:00
libdns.def.in Simplify the EDNS buffer size logic for DNS Flag Day 2020 2020-10-05 16:21:21 +02:00
libdns.vcxproj.filters.in Restore the GSSAPI compilation on Windows (but we should really switch to SSPI/Kerberos) 2020-05-28 08:07:57 +02:00
libdns.vcxproj.in Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
libdns.vcxproj.user Convert *.vcxproj.user to CRLF line endings 2019-03-08 18:01:48 +01:00