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
@@ -61,7 +61,7 @@ func (q *QueryCmd) Run() error {
msg.SetQuestion(dns.Fqdn(q.DomainName), qTypeUint)
msg.Id = dns.Id()
msg.RecursionDesired = true
msg.SetEdns0(4096, q.DNSSEC)
msg.SetEdns0(1232, q.DNSSEC)
logger.Debug("Sending DNS query: ID=%d, Question=%s %s", msg.Id, q.DomainName, q.QueryType)
_, recvMsg, err := dnsClient.Query(msg)