From: Vsevolod Stakhov Date: Fri, 17 Dec 2021 18:08:24 +0000 (+0000) Subject: [Minor] Increase EDNS0 max packet size to couple with some poor TXT records X-Git-Tag: 3.2~153 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9752886d5dde4b2295d3b7b91e3ea23416eea641;p=thirdparty%2Frspamd.git [Minor] Increase EDNS0 max packet size to couple with some poor TXT records --- diff --git a/contrib/librdns/dns_private.h b/contrib/librdns/dns_private.h index 76bfba8fea..19729f1e6c 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