plugin/loop: tweak loop detected msg, add troubleshooting section (#2185)
Automatically submitted.
This commit is contained in:
parent
6ed88fab74
commit
6d2bc0a8f2
2 changed files with 39 additions and 3 deletions
|
@ -49,7 +49,7 @@ func (l *Loop) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (
|
|||
}
|
||||
|
||||
if l.seen() > 2 {
|
||||
log.Fatalf("Seen \"HINFO IN %s\" more than twice, loop detected", l.qname)
|
||||
log.Fatalf("Forwarding loop detected in \"%s\" zone. Exiting. See https://coredns.io/plugins/loop#troubleshooting. Probe query: \"HINFO %s\".", l.zone, l.qname)
|
||||
}
|
||||
|
||||
return plugin.NextOrFailure(l.Name(), l.Next, ctx, w, r)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue