mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
Fix: enable DNS server message compression (#1451)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user