Skip to content

Commit

Permalink
Fix: enable DNS server message compression (#1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
indust authored Jun 24, 2021
1 parent 244cb37 commit 3ca5d17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dns/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 3ca5d17

Please sign in to comment.