summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/testdata/tsigrecord_toWire2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/tests/testdata/tsigrecord_toWire2.spec')
-rw-r--r--src/lib/dns/tests/testdata/tsigrecord_toWire2.spec19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/dns/tests/testdata/tsigrecord_toWire2.spec b/src/lib/dns/tests/testdata/tsigrecord_toWire2.spec
new file mode 100644
index 0000000..f667e4c
--- /dev/null
+++ b/src/lib/dns/tests/testdata/tsigrecord_toWire2.spec
@@ -0,0 +1,19 @@
+#
+# TSIG RR after some names that could (unexpectedly) cause name compression
+#
+
+[custom]
+sections: name/1:name/2:tsig
+[name/1]
+name: hmac-md5.sig-alg.reg.int
+[name/2]
+name: foo.example.com
+[tsig]
+as_rr: True
+# TSIG QNAME won't be compressed
+rr_name: www.example.com
+algorithm: hmac-md5
+time_signed: 0x4da8877a
+mac_size: 16
+mac: 0xdadadadadadadadadadadadadadadada
+original_id: 0x2d65