1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-26 03:52:50 +02:00

Reduce the EDNS0 size to 1232

@see
https://github.com/dns-violations/dnsflagday/issues/125
This commit is contained in:
Florent Daigniere 2021-09-05 15:28:59 +02:00
parent d8c22db547
commit a9a1b3e55e

View File

@ -41,7 +41,7 @@ def handle_needs_login():
# DNS stub configured to do DNSSEC enabled queries
resolver = dns.resolver.Resolver()
resolver.use_edns(0, 0, 1500)
resolver.use_edns(0, 0, 1232)
resolver.flags = dns.flags.AD | dns.flags.RD
def has_dane_record(domain, timeout=10):