summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/testdata/rdata_mx_fromWire
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/tests/testdata/rdata_mx_fromWire')
-rw-r--r--src/lib/dns/tests/testdata/rdata_mx_fromWire15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/dns/tests/testdata/rdata_mx_fromWire b/src/lib/dns/tests/testdata/rdata_mx_fromWire
new file mode 100644
index 0000000..8e09154
--- /dev/null
+++ b/src/lib/dns/tests/testdata/rdata_mx_fromWire
@@ -0,0 +1,15 @@
+#
+# various kinds of MX RDATA stored in an input buffer
+#
+# Valid RDATA for "10 mail.example.com"
+#
+# RDLENGTH=18 bytes
+# 0 1
+ 00 12
+# 2 3
+# PREFERENCE: 10
+ 00 0a
+# EXCHANGE: non compressed
+# 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 (bytes)
+#(2) m x (7) e x a m p l e (3) c o m .
+ 02 6d 78 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00