mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 05:23:04 +00:00
Remove fix for upstream DNS bug
This commit is contained in:
parent
e0ba0e8d52
commit
04c2540072
@ -409,9 +409,6 @@ func (d *DNSServer) handleRecurse(resp dns.ResponseWriter, req *dns.Msg) {
|
|||||||
}
|
}
|
||||||
d.logger.Printf("[DEBUG] dns: recurse RTT for %v (%v)", q, rtt)
|
d.logger.Printf("[DEBUG] dns: recurse RTT for %v (%v)", q, rtt)
|
||||||
|
|
||||||
// Seems to be a bug that forcing compression fixes...
|
|
||||||
r.Compress = true
|
|
||||||
|
|
||||||
// Forward the response
|
// Forward the response
|
||||||
if err := resp.WriteMsg(r); err != nil {
|
if err := resp.WriteMsg(r); err != nil {
|
||||||
d.logger.Printf("[WARN] dns: failed to respond: %v", err)
|
d.logger.Printf("[WARN] dns: failed to respond: %v", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user