mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -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:
|
// ok this cluster doesn't exist, potentially due to extra labels, which may be garbage or legit queries:
|
||||||
// legit is:
|
// legit is:
|
||||||
// endpoint-N.cluster
|
// endpoint-N.cluster
|
||||||
// _tcp.cluster
|
|
||||||
labels := dns.SplitDomainName(cluster)
|
labels := dns.SplitDomainName(cluster)
|
||||||
switch len(labels) {
|
switch len(labels) {
|
||||||
case 2:
|
case 2:
|
||||||
|
|||||||
Reference in New Issue
Block a user