1 /*
2 No.     Time        Source           Destination      Protocol   Length  Info
3 42    2.441991000      192.168.0.1        192.168.0.105       DNS        178         Standard query response 0x0002 MX 40 alt3.aspmx.l.google.com MX 30 alt2.aspmx.l.google.com MX 10 aspmx.l.google.com MX 20 alt1.aspmx.l.google.com MX 50 alt4.aspmx.l.google.com
4 
5 Frame 171: 178 bytes on wire (1424 bits), 178 bytes captured (1424 bits)
6 Ethernet II, Src: TendaTec_60:4b:46 (c8:3a:35:60:4b:46), Dst: Dell_33:c1:bd (18:03:73:33:c1:bd)
7 Internet Protocol Version 4, Src: 192.168.0.1 (192.168.0.1), Dst: 192.168.0.105 (192.168.0.105)
8 User Datagram Protocol, Src Port: domain (53), Dst Port: 53738 (53738)
9 Domain Name System (response)
10     Request In: 164
11     Time: 0.037374000 seconds
12     Transaction ID: 0x0002
13     Flags: 0x8180 (Standard query response, No error)
14        Questions: 1
15        Answer RRs: 5
16        Authority RRs: 0
17        Additional RRs: 0
18     Queries
19        google.com: type MX, class IN
20     Answers
21        google.com: type MX, class IN, preference 50, mx alt4.aspmx.l.google.com
22             Name: google.com
23             Type: MX (Mail exchange)
24             Class: IN (0x0001)
25             Time to live: 10 minutes
26             Data length: 17
27             Preference: 50
28             Mail exchange: alt4.aspmx.l.google.com
29        google.com: type MX, class IN, preference 30, mx alt2.aspmx.l.google.com
30             Name: google.com
31             Type: MX (Mail exchange)
32             Class: IN (0x0001)
33             Time to live: 10 minutes
34             Data length: 9
35             Preference: 30
36             Mail exchange: alt2.aspmx.l.google.com
37        google.com: type MX, class IN, preference 10, mx aspmx.l.google.com
38             Name: google.com
39             Type: MX (Mail exchange)
40             Class: IN (0x0001)
41             Time to live: 10 minutes
42             Data length: 4
43             Preference: 10
44             Mail exchange: aspmx.l.google.com
45        google.com: type MX, class IN, preference 20, mx alt1.aspmx.l.google.com
46             Name: google.com
47             Type: MX (Mail exchange)
48             Class: IN (0x0001)
49             Time to live: 10 minutes
50             Data length: 9
51             Preference: 20
52             Mail exchange: alt1.aspmx.l.google.com
53        google.com: type MX, class IN, preference 40, mx alt3.aspmx.l.google.com
54             Name: google.com
55             Type: MX (Mail exchange)
56             Class: IN (0x0001)
57             Time to live: 10 minutes
58             Data length: 9
59             Preference: 40
60             Mail exchange: alt3.aspmx.l.google.com
61 */
62 
63 char response_mx_google_com_pkt[178] = {
64 0x18, 0x03, 0x73, 0x33, 0xc1, 0xbd, 0xc8, 0x3a,
65 0x35, 0x60, 0x4b, 0x46, 0x08, 0x00, 0x45, 0x00,
66 0x00, 0xa4, 0x98, 0xa1, 0x00, 0x00, 0x40, 0x11,
67 0x5f, 0xed, 0xc0, 0xa8, 0x00, 0x01, 0xc0, 0xa8,
68 0x00, 0x69, 0x00, 0x35, 0xd1, 0xea, 0x00, 0x90,
69 0x68, 0x6a, 0x00, 0x02, 0x81, 0x80, 0x00, 0x01,
70 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x06, 0x67,
71 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x03, 0x63, 0x6f,
72 0x6d, 0x00, 0x00, 0x0f, 0x00, 0x01, 0xc0, 0x0c,
73 0x00, 0x0f, 0x00, 0x01, 0x00, 0x00, 0x02, 0x58,
74 0x00, 0x11, 0x00, 0x32, 0x04, 0x61, 0x6c, 0x74,
75 0x34, 0x05, 0x61, 0x73, 0x70, 0x6d, 0x78, 0x01,
76 0x6c, 0xc0, 0x0c, 0xc0, 0x0c, 0x00, 0x0f, 0x00,
77 0x01, 0x00, 0x00, 0x02, 0x58, 0x00, 0x09, 0x00,
78 0x1e, 0x04, 0x61, 0x6c, 0x74, 0x32, 0xc0, 0x2f,
79 0xc0, 0x0c, 0x00, 0x0f, 0x00, 0x01, 0x00, 0x00,
80 0x02, 0x58, 0x00, 0x04, 0x00, 0x0a, 0xc0, 0x2f,
81 0xc0, 0x0c, 0x00, 0x0f, 0x00, 0x01, 0x00, 0x00,
82 0x02, 0x58, 0x00, 0x09, 0x00, 0x14, 0x04, 0x61,
83 0x6c, 0x74, 0x31, 0xc0, 0x2f, 0xc0, 0x0c, 0x00,
84 0x0f, 0x00, 0x01, 0x00, 0x00, 0x02, 0x58, 0x00,
85 0x09, 0x00, 0x28, 0x04, 0x61, 0x6c, 0x74, 0x33,
86 0xc0, 0x2f
87 };
88 
89 int response_mx_google_com_pkt_size = sizeof(response_mx_google_com_pkt);