hickory-dns/tests
Nathan Mittler 0a1306ba8f Fix truncation for UDP
This fixes a couple of issues for UDP on both the client and server:

* Previously, the UdpClientStream was using a fixed `2048` for the size of the receive buffer. This can cause problems on interfaces with a larger MTU. #1096 adjusted this value on the server side to 4096 (the maximum as recommended by RFC6891). This PR sets a constant that is shared by the UDP client and server. Additionally, the client uses EDNS in the request to further trim down the buffer size.
* The Server previously was not setting a maximum for the `BinEncoder`, which defaults to `u16::MAX` (i.e. effectively no truncation for UDP). This PR sets an appropriate maximum for the `BinEncoder` based on the response EDNS and protocol being used.

Fixes: #1973
2023-06-27 10:00:45 -07:00
..
compatibility-tests compatibility crate should not publish 2023-06-02 15:04:29 -07:00
integration-tests Fix truncation for UDP 2023-06-27 10:00:45 -07:00
test-data tests: add file authority test for default IN. 2023-01-17 09:07:28 -08:00