Fix: enable DNS server message compression (#1451)

This commit is contained in:
gVisor bot 2021-06-24 13:38:44 +08:00
parent a2948cd3b6
commit f0dae64b94

View File

@ -30,6 +30,7 @@ func (s *Server) ServeDNS(w D.ResponseWriter, r *D.Msg) {
D.HandleFailed(w, r)
return
}
msg.Compress = true
w.WriteMsg(msg)
}