diff options
Diffstat (limited to 'plugin/forward/forward.go')
-rw-r--r-- | plugin/forward/forward.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugin/forward/forward.go b/plugin/forward/forward.go index 8e64831f4..2b6a3f705 100644 --- a/plugin/forward/forward.go +++ b/plugin/forward/forward.go @@ -148,13 +148,7 @@ func (f *Forward) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg return 0, nil } - // 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. - ret, _ = state.Scrub(ret) - w.WriteMsg(ret) - return 0, nil } |