mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
@@ -54,7 +54,6 @@ func (t *Traffic) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg
|
||||
// ok this cluster doesn't exist, potentially due to extra labels, which may be garbage or legit queries:
|
||||
// legit is:
|
||||
// endpoint-N.cluster
|
||||
// _tcp.cluster
|
||||
labels := dns.SplitDomainName(cluster)
|
||||
switch len(labels) {
|
||||
case 2:
|
||||
|
||||
Reference in New Issue
Block a user