diff options
Diffstat (limited to 'plugin/proxy/dns.go')
-rw-r--r-- | plugin/proxy/dns.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugin/proxy/dns.go b/plugin/proxy/dns.go index d3153bdff..c1aa7f190 100644 --- a/plugin/proxy/dns.go +++ b/plugin/proxy/dns.go @@ -64,10 +64,6 @@ func (d *dnsEx) Exchange(ctx context.Context, addr string, state request.Request return nil, err } reply.Id = state.Req.Id - // When using force_tcp the upstream can send a message that is too big for - // the udp buffer, hence we need to truncate the message to at least make it - // fit the udp buffer. - reply, _ = state.Scrub(reply) return reply, nil } |