]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Increase EDNS0 max packet size to couple with some poor TXT records
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 17 Dec 2021 18:08:24 +0000 (18:08 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 17 Dec 2021 18:08:24 +0000 (18:08 +0000)
contrib/librdns/dns_private.h

index 76bfba8fea77f1374a1d7c6c7eb4b68015ed84be..19729f1e6cea832ef6e467cc0d8d4ff33c77509d 100644 (file)
@@ -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