aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/lookup.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/file/lookup.go')
-rw-r--r--plugin/file/lookup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/lookup.go b/plugin/file/lookup.go
index 2318af1fa..f92cba66f 100644
--- a/plugin/file/lookup.go
+++ b/plugin/file/lookup.go
@@ -366,7 +366,7 @@ Redo:
goto Redo
}
- targets := rrutil.CNAMEForType(elem.All(), qtype)
+ targets := elem.Type(qtype)
if len(targets) > 0 {
rrs = append(rrs, targets...)