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