bind9/lib/ns
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
..
include Add separate prefetch nmhandle to ns_client_t 2020-09-22 09:56:26 +02:00
tests The dns_message_create() cannot fail, change the return to void 2020-09-29 08:22:08 +02:00
win32 update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
api Update library API versions 2020-08-06 09:10:06 +02:00
client.c The dns_message_create() cannot fail, change the return to void 2020-09-29 08:22:08 +02:00
hooks.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
interfacemgr.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
lib.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
listenlist.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
log.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
Makefile.am Fix function overrides in unit tests on macOS 2020-09-28 09:09:21 +02:00
notify.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
query.c Purge memory pool upon plugin destruction 2020-09-25 13:32:34 -07:00
server.c Simplify the EDNS buffer size logic for DNS Flag Day 2020 2020-10-05 16:21:21 +02:00
sortlist.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
stats.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
update.c Refactored dns_message_t for using attach/detach semantics 2020-09-29 08:22:08 +02:00
xfrout.c The dns_message_create() cannot fail, change the return to void 2020-09-29 08:22:08 +02:00