diff --git a/pkg/dns/etcd_dns.go b/pkg/dns/etcd_dns.go index 3a63bd713..44802c0a8 100644 --- a/pkg/dns/etcd_dns.go +++ b/pkg/dns/etcd_dns.go @@ -84,7 +84,7 @@ func (c *coreDNS) Get(bucket string) ([]SrvRecord, error) { if record.Key != "" { continue } - srvRecords = append(srvRecords, records...) + srvRecords = append(srvRecords, record) } } if len(srvRecords) == 0 {