dont log error for non existant txt records (#2291)
This commit is contained in:
parent
cc82915f93
commit
d97b257f8d
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func (k *Kubernetes) Services(state request.Request, exact bool, opt plugin.Opti
|
|||
|
||||
segs := dns.SplitDomainName(t)
|
||||
if len(segs) != 1 {
|
||||
return nil, fmt.Errorf("kubernetes: TXT query can only be for dns-version: %s", state.QName())
|
||||
return nil, nil
|
||||
}
|
||||
if segs[0] != "dns-version" {
|
||||
return nil, nil
|
||||
|
|
Loading…
Add table
Reference in a new issue