mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-20 01:00:56 +00:00
Fix: enable DNS server message compression (#1451)
This commit is contained in:
parent
a2948cd3b6
commit
f0dae64b94
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue