mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-07-28 18:59:20 +00:00
Improve DNS error handling
This commit is contained in:
@@ -52,7 +52,6 @@ func Unmarshal(msg *dns.Msg, resp *Response, udpSize uint16, ednsClientNetmask u
|
||||
|
||||
reply := msg.Copy()
|
||||
reply.Truncated = resp.TC
|
||||
reply.RecursionDesired = resp.RD
|
||||
reply.RecursionAvailable = resp.RA
|
||||
reply.AuthenticatedData = resp.AD
|
||||
reply.CheckingDisabled = resp.CD
|
||||
|
||||
Reference in New Issue
Block a user