1 /*
2 No.     Time        Source                Destination           Protocol    Length     Info
3 18        4.207289000    192.168.0.1                192.168.0.105        DNS            120            Yes    Standard query response 0x0002 SOA ns1.google.com
4 
5 Frame 18: 120 bytes on wire (960 bits), 120 bytes captured (960 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: 55808 (55808)
9 Domain Name System (response)
10     Request In: 17
11     Time: 0.081002000 seconds
12     Transaction ID: 0x0002
13     Flags: 0x8180 (Standard query response, No error)
14     Questions: 1
15     Answer RRs: 1
16     Authority RRs: 0
17     Additional RRs: 0
18     Queries
19         google.com: type SOA, class IN
20     Answers
21         google.com: type SOA, class IN, mname ns1.google.com
22             Name: google.com
23             Type: SOA (Start of zone of authority)
24             Class: IN (0x0001)
25             Time to live: 11 hours, 56 minutes, 51 seconds
26             Data length: 38
27             Primary name server: ns1.google.com
28             Responsible authority's mailbox: dns-admin.google.com
29             Serial number: 2012090400
30             Refresh interval: 2 hours
31             Retry interval: 30 minutes
32             Expiration limit: 14 days
33             Minimum TTL: 5 minutes
34 */
35 
36 char response_soa_google_com_pkt[120] = {
37 0x18, 0x03, 0x73, 0x33, 0xc1, 0xbd, 0xc8, 0x3a,
38 0x35, 0x60, 0x4b, 0x46, 0x08, 0x00, 0x45, 0x00,
39 0x00, 0x6a, 0x5c, 0x34, 0x00, 0x00, 0x40, 0x11,
40 0x9c, 0x94, 0xc0, 0xa8, 0x00, 0x01, 0xc0, 0xa8,
41 0x00, 0x69, 0x00, 0x35, 0xda, 0x00, 0x00, 0x56,
42 0x1b, 0x90, 0x00, 0x02, 0x81, 0x80, 0x00, 0x01,
43 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x06, 0x67,
44 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x03, 0x63, 0x6f,
45 0x6d, 0x00, 0x00, 0x06, 0x00, 0x01, 0xc0, 0x0c,
46 0x00, 0x06, 0x00, 0x01, 0x00, 0x00, 0xa8, 0x03,
47 0x00, 0x26, 0x03, 0x6e, 0x73, 0x31, 0xc0, 0x0c,
48 0x09, 0x64, 0x6e, 0x73, 0x2d, 0x61, 0x64, 0x6d,
49 0x69, 0x6e, 0xc0, 0x0c, 0x77, 0xee, 0x10, 0x20,
50 0x00, 0x00, 0x1c, 0x20, 0x00, 0x00, 0x07, 0x08,
51 0x00, 0x12, 0x75, 0x00, 0x00, 0x00, 0x01, 0x2c
52 };
53 
54 int response_soa_google_com_pkt_size = sizeof(response_soa_google_com_pkt);