Remove fix for upstream DNS bug
This commit is contained in:
parent
870074056f
commit
ed1a200efe
|
@ -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…
Reference in New Issue