mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Be more explicit about mgmt cluster
Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -100,7 +100,11 @@ func (t *Traffic) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg
|
||||
}
|
||||
|
||||
if sockaddr == nil {
|
||||
log.Debugf("No (healthy) endpoints found for %q", cluster)
|
||||
if cluster == t.mgmt {
|
||||
log.Debugf("No (healthy) endpoints found for management cluster %q", cluster)
|
||||
} else {
|
||||
log.Debugf("No (healthy) endpoints found for %q", cluster)
|
||||
}
|
||||
m.Ns = soa(state.Zone)
|
||||
w.WriteMsg(m)
|
||||
return 0, nil
|
||||
|
||||
Reference in New Issue
Block a user