aboutsummaryrefslogtreecommitdiff
path: root/plugin/k8s_external/transfer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/k8s_external/transfer_test.go')
-rw-r--r--plugin/k8s_external/transfer_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/k8s_external/transfer_test.go b/plugin/k8s_external/transfer_test.go
index c55f14c1f..62d48be8a 100644
--- a/plugin/k8s_external/transfer_test.go
+++ b/plugin/k8s_external/transfer_test.go
@@ -59,6 +59,11 @@ func TestTransferAXFR(t *testing.T) {
if ans.Header().Rrtype == dns.TypeTXT {
continue
}
+
+ // Exclude PTR records
+ if ans.Header().Rrtype == dns.TypePTR {
+ continue
+ }
expect = append(expect, ans)
}
}