commit 9ed19f5: [Project] Rdns: Restore the previous EDNS0 size

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jan 5 11:28:21 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-01-05 10:00:50 +0000
URL: https://github.com/rspamd/rspamd/commit/9ed19f57437a19340c7aafe81a67498821ccc179

[Project] Rdns: Restore the previous EDNS0 size

---
 contrib/librdns/dns_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/librdns/dns_private.h b/contrib/librdns/dns_private.h
index 19e8c0718..359334c8d 100644
--- a/contrib/librdns/dns_private.h
+++ b/contrib/librdns/dns_private.h
@@ -36,7 +36,7 @@ static const int dns_port = 53;
 static const int default_io_cnt = 8;
 static const int default_tcp_io_cnt = 1;
 
-#define UDP_PACKET_SIZE (512)
+#define UDP_PACKET_SIZE (4096)
 
 #define DNS_COMPRESSION_BITS 0xC0
 


More information about the Commits mailing list