From 638c3e74ede2b838d9ab23f642662717b0c093dd Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 27 Mar 2020 21:32:32 +0100 Subject: [PATCH] Be more explicit about mgmt cluster Signed-off-by: Miek Gieben --- plugin/traffic/traffic.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin/traffic/traffic.go b/plugin/traffic/traffic.go index fe866ed24..9a0960732 100644 --- a/plugin/traffic/traffic.go +++ b/plugin/traffic/traffic.go @@ -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