Improve DNS error handling

This commit is contained in:
Star Brilliant
2017-11-30 17:09:55 +08:00
parent 72211674fa
commit c42303e93e
2 changed files with 8 additions and 2 deletions
-1
View File
@@ -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