summaryrefslogtreecommitdiffstats
path: root/tests/libzscanner/data/16_PTR.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libzscanner/data/16_PTR.in')
-rw-r--r--tests/libzscanner/data/16_PTR.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/libzscanner/data/16_PTR.in b/tests/libzscanner/data/16_PTR.in
new file mode 100644
index 0000000..3694e7d
--- /dev/null
+++ b/tests/libzscanner/data/16_PTR.in
@@ -0,0 +1,14 @@
+$ORIGIN .
+$TTL 1
+
+; The PTR is the same as the NS, so there are the differences and basics only.
+
+; OK
+@ PTR test.example.com ; Relative dname
+@ PTR \# 1 00 ; Hexadecimal rdata
+@ TYPE12 \# 1 00 ; TYPE + Hexadecimal rdata
+@ TYPE12 @ ; TYPE
+@ ptr @ ; Type in lower-case
+
+; KO
+@ PTR