fix(edns): add extended query size even if DNSSEC is not enabled

This commit is contained in:
2026-07-11 13:33:39 +01:00
parent 009ebf844b
commit 8fdeb6731b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -61,6 +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)
logger.Debug("Sending DNS query: ID=%d, Question=%s %s", msg.Id, q.DomainName, q.QueryType)
_, recvMsg, err := dnsClient.Query(msg)
+1
View File
@@ -202,6 +202,7 @@ func (r *MeasurementRunner) performQuery(dnsClient client.DNSClient, domain, ups
msg.Id = dns.Id()
msg.RecursionDesired = true
msg.SetQuestion(dns.Fqdn(domain), qType)
msg.SetEdns0(4096, r.config.DNSSEC)
start := time.Now()
metric.Timestamp = start