summaryrefslogtreecommitdiffstats
path: root/contrib/librdns
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-05 10:00:50 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-05 10:00:50 +0000
commit9ed19f57437a19340c7aafe81a67498821ccc179 (patch)
tree072c3d79e47f16a0375463e1a5ad1c0d0e4947b1 /contrib/librdns
parent3b0e294c489334153de206452b4319558343e8d5 (diff)
downloadrspamd-9ed19f57437a19340c7aafe81a67498821ccc179.tar.gz
rspamd-9ed19f57437a19340c7aafe81a67498821ccc179.zip
[Project] Rdns: Restore the previous EDNS0 size
Diffstat (limited to 'contrib/librdns')
-rw-r--r--contrib/librdns/dns_private.h2
1 files changed, 1 insertions, 1 deletions
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