diff --git a/test/txt_test/google.com.txt.0.bin b/test/txt_test/google.com.txt.0.bin new file mode 100644 index 0000000..f29c4a8 Binary files /dev/null and b/test/txt_test/google.com.txt.0.bin differ diff --git a/test/txt_test/google.com.txt.0.json b/test/txt_test/google.com.txt.0.json new file mode 100644 index 0000000..e50d47a --- /dev/null +++ b/test/txt_test/google.com.txt.0.json @@ -0,0 +1,201 @@ +{ + "header": { + "id": 430, + "qr": 1, + "opcode": 0, + "aa": 0, + "tc": 0, + "rd": 1, + "ra": 1, + "res1": 0, + "res2": 0, + "res3": 0, + "rcode": 0 + }, + "qdcount": 1, + "ancount": 1, + "nscount": 4, + "arcount": 4, + "question": [ + { + "name": "google.com", + "type": 16, + "typeName": "TXT", + "class": 1, + "className": "IN", + "byteLength": 16, + "labels": [ + "google", + "com" + ], + "cpcount": 0 + } + ], + "answer": [ + { + "name": "google.com", + "type": 16, + "typeName": "TXT", + "class": 1, + "className": "IN", + "byteLength": 48, + "labels": [ + "google", + "com" + ], + "cpcount": 1, + "rdstart": 40, + "rdlength": 36, + "ttl": 2930, + "data": [ + "v=spf1 include:_spf.google.com ~all" + ] + } + ], + "authority": [ + { + "name": "google.com", + "type": 2, + "typeName": "NS", + "class": 1, + "className": "IN", + "byteLength": 18, + "labels": [ + "google", + "com" + ], + "cpcount": 1, + "rdstart": 88, + "rdlength": 6, + "ttl": 82790, + "data": "ns3.google.com" + }, + { + "name": "google.com", + "type": 2, + "typeName": "NS", + "class": 1, + "className": "IN", + "byteLength": 18, + "labels": [ + "google", + "com" + ], + "cpcount": 1, + "rdstart": 106, + "rdlength": 6, + "ttl": 82790, + "data": "ns4.google.com" + }, + { + "name": "google.com", + "type": 2, + "typeName": "NS", + "class": 1, + "className": "IN", + "byteLength": 18, + "labels": [ + "google", + "com" + ], + "cpcount": 1, + "rdstart": 124, + "rdlength": 6, + "ttl": 82790, + "data": "ns1.google.com" + }, + { + "name": "google.com", + "type": 2, + "typeName": "NS", + "class": 1, + "className": "IN", + "byteLength": 18, + "labels": [ + "google", + "com" + ], + "cpcount": 1, + "rdstart": 142, + "rdlength": 6, + "ttl": 82790, + "data": "ns2.google.com" + } + ], + "edns_options": [], + "additional": [ + { + "name": "ns1.google.com", + "type": 1, + "typeName": "A", + "class": 1, + "className": "IN", + "byteLength": 16, + "labels": [ + "ns1", + "google", + "com" + ], + "cpcount": 2, + "rdstart": 160, + "rdlength": 4, + "ttl": 255588, + "address": "216.239.32.10" + }, + { + "name": "ns2.google.com", + "type": 1, + "typeName": "A", + "class": 1, + "className": "IN", + "byteLength": 16, + "labels": [ + "ns2", + "google", + "com" + ], + "cpcount": 2, + "rdstart": 176, + "rdlength": 4, + "ttl": 255577, + "address": "216.239.34.10" + }, + { + "name": "ns3.google.com", + "type": 1, + "typeName": "A", + "class": 1, + "className": "IN", + "byteLength": 16, + "labels": [ + "ns3", + "google", + "com" + ], + "cpcount": 2, + "rdstart": 192, + "rdlength": 4, + "ttl": 255599, + "address": "216.239.36.10" + }, + { + "name": "ns4.google.com", + "type": 1, + "typeName": "A", + "class": 1, + "className": "IN", + "byteLength": 16, + "labels": [ + "ns4", + "google", + "com" + ], + "cpcount": 2, + "rdstart": 208, + "rdlength": 4, + "ttl": 255595, + "address": "216.239.38.10" + } + ], + "byteLength": 212 +} \ No newline at end of file diff --git a/test/txt_test/google.com.txt.query.bin b/test/txt_test/google.com.txt.query.bin new file mode 100644 index 0000000..393b330 Binary files /dev/null and b/test/txt_test/google.com.txt.query.bin differ diff --git a/test/txt_test/google.com.txt.query.json b/test/txt_test/google.com.txt.query.json new file mode 100644 index 0000000..9361cf8 --- /dev/null +++ b/test/txt_test/google.com.txt.query.json @@ -0,0 +1,19 @@ +{ + "header": { + "id": 430, + "qr": 0, + "opcode": 0, + "aa": 0, + "tc": 0, + "rd": 1, + "ra": 0, + "rcode": 0 + }, + "question": [ + { + "name": "google.com", + "typeName": "TXT", + "className": "IN" + } + ] +} \ No newline at end of file