summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/testdata/message_toText1.spec
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/tests/testdata/message_toText1.spec')
-rw-r--r--src/lib/dns/tests/testdata/message_toText1.spec24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/dns/tests/testdata/message_toText1.spec b/src/lib/dns/tests/testdata/message_toText1.spec
new file mode 100644
index 0000000..b31310e
--- /dev/null
+++ b/src/lib/dns/tests/testdata/message_toText1.spec
@@ -0,0 +1,24 @@
+#
+# A standard DNS message (taken from an invocation of dig)
+#
+
+[custom]
+sections: header:question:a/1:ns:a/2
+[header]
+id: 29174
+qr: 1
+aa: 1
+ancount: 1
+nscount: 1
+arcount: 1
+[question]
+name: www.example.com
+[a/1]
+as_rr: True
+rr_name: www.example.com
+address: 192.0.2.80
+[ns]
+as_rr: True
+[a/2]
+as_rr: True
+rr_name: ns.example.com