mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
plugin/file: guard against cname loops (#4387)
Automatically submitted.
This commit is contained in:
@@ -32,7 +32,6 @@ func (u *Upstream) Lookup(ctx context.Context, state request.Request, name strin
|
||||
req.SetEdns0(uint16(size), do)
|
||||
|
||||
nw := nonwriter.New(state.W)
|
||||
|
||||
server.ServeDNS(ctx, nw, req)
|
||||
|
||||
return nw.Msg, nil
|
||||
|
||||
Reference in New Issue
Block a user