diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2018-03-09 08:50:28 +0100 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2018-03-09 13:20:31 +0100 |
commit | 4a76305b378f912dfdd5f564e23a50210f6d7e09 (patch) | |
tree | e65525ab24fce9aaae96434f33af7bd128fd0f81 /tests/zscanner/data/04-0_ORIGIN.in | |
parent | dnssec: remove obsolete doc (diff) | |
download | knot-4a76305b378f912dfdd5f564e23a50210f6d7e09.tar.xz knot-4a76305b378f912dfdd5f564e23a50210f6d7e09.zip |
tests: move zscanner tests and libtap + improvements
Diffstat (limited to 'tests/zscanner/data/04-0_ORIGIN.in')
-rw-r--r-- | tests/zscanner/data/04-0_ORIGIN.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/zscanner/data/04-0_ORIGIN.in b/tests/zscanner/data/04-0_ORIGIN.in new file mode 100644 index 000000000..4d65ec4a5 --- /dev/null +++ b/tests/zscanner/data/04-0_ORIGIN.in @@ -0,0 +1,29 @@ +$TTL 1 + +; OK +$ORIGIN . ; Root domain +@ NS @ ; Use origin +a. NS @ ; Absolute dname +a NS @ ; Relative dname +$ORIGIN tld. ; 1. level domain +@ NS @ ; Use origin +a. NS @ ; Absolute dname +a NS @ ; Relative dname +$ORIGIN second.tld. ; 2. level domain +@ NS @ ; Use origin +a. NS @ ; Absolute dname +a NS @ ; Relative dname +$ORIGIN \0320\ \\\"\.\@\*.tld. ; Label with special chars +@ NS @ ; Use origin +$ORIGIN b.a.9.8.7.6.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa. ; IPv6 reverse +@ NS @ ; Use origin +$ORIGIN 12345678901234567890123456789012345678901234567890123456789012\051.tld. ; Label of maximal length +@ NS @ ; Use origin +$ORIGIN 123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901. ; Domain name of maximal length +@ NS @ ; Use origin +$origin . ; Lower-case +@ NS @ ; Use origin + +; KO +$ORIGIN ; Empty input +. NS . ; Is OK, but shouldn't be processed due to previous error stop! |