fix: remove AA header flag in DNS query

This commit is contained in:
秋のかえで 2021-04-02 16:47:19 +08:00
parent 7a778d74d0
commit 364086c974
No known key found for this signature in database
GPG key ID: C687746B27587C0D

View file

@ -242,7 +242,6 @@ func (h *Handler) handleIPQuery(id uint16, qType dnsmessage.Type, domain string,
RecursionAvailable: true, RecursionAvailable: true,
RecursionDesired: true, RecursionDesired: true,
Response: true, Response: true,
Authoritative: true,
}) })
builder.EnableCompression() builder.EnableCompression()
common.Must(builder.StartQuestions()) common.Must(builder.StartQuestions())