From 9752886d5dde4b2295d3b7b91e3ea23416eea641 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 17 Dec 2021 18:08:24 +0000 Subject: [Minor] Increase EDNS0 max packet size to couple with some poor TXT records --- contrib/librdns/dns_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/librdns') diff --git a/contrib/librdns/dns_private.h b/contrib/librdns/dns_private.h index 76bfba8fe..19729f1e6 100644 --- a/contrib/librdns/dns_private.h +++ b/contrib/librdns/dns_private.h @@ -34,7 +34,7 @@ static const int dns_port = 53; static const int default_io_cnt = 8; -#define UDP_PACKET_SIZE 4096 +#define UDP_PACKET_SIZE (4096 * 2) #define DNS_COMPRESSION_BITS 0xC0 -- cgit v1.2.3