fix(dnssec): change EDNS0 UDP buffer size to 1232 as per the current recommendation

This commit is contained in:
2026-07-12 02:06:33 +01:00
parent c330fa6289
commit 491e9365ac
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func (w *iterativeWalker) resetStats() { w.st = ValidationStats{} }
func (w *iterativeWalker) exchange(server, name string, qtype uint16) (*dns.Msg, error) {
m := new(dns.Msg)
m.SetQuestion(dns.Fqdn(name), qtype)
m.SetEdns0(4096, true)
m.SetEdns0(1232, true)
m.RecursionDesired = false
if b, err := m.Pack(); err == nil {
+1 -1
View File
@@ -24,7 +24,7 @@ func (w *trustWalker) ask(name string, qtype uint16) (*dns.Msg, error) {
m.SetQuestion(dns.Fqdn(name), qtype)
m.Id = dns.Id()
m.RecursionDesired = true
m.SetEdns0(4096, true)
m.SetEdns0(1232, true)
if b, err := m.Pack(); err == nil {
w.st.BytesSent += len(b)