1# Location: Tokyo, Japan
2# Network: IIJ Mobile
3# Date: 16 AUG 2019
4
5config {
6    call: CALL_GETADDRINFO
7    addrinfo {
8        host: "www.google.com."
9        family: GT_AF_UNSPEC
10        socktype: GT_SOCK_DGRAM
11        protocol: GT_IPPROTO_IP
12        ai_flags: 1024
13    };
14}
15result {
16    return_code: GT_EAI_NO_ERROR
17    addresses: "2404:6800:4004:80f::2004"
18    addresses: "172.217.26.4"
19}
20packet_mapping {
21    query:    # Header
22              "\x00\x00"         # Transaction ID: 0x0000
23              "\x01\x00"         # Flags: rd
24              "\x00\x01"         # Questions: 1
25              "\x00\x00"         # Answer RRs: 0
26              "\x00\x00"         # Authority RRs: 0
27              "\x00\x00"         # Additional RRs: 0
28              # Queries
29              "\x03\x77\x77\x77\x06\x67\x6f\x6f\x67\x6c\x65\x03\x63\x6f\x6d\x00"
30                                 # Name: www.google.com
31              "\x00\x1c"         # Type: AAAA
32              "\x00\x01"         # Class: IN
33    response: # Header
34              "\x00\x00"         # Transaction ID: 0x0000
35              "\x81\x80"         # Flags: qr rd ra
36              "\x00\x01"         # Questions: 1
37              "\x00\x01"         # Answer RRs: 1
38              "\x00\x00"         # Authority RRs: 0
39              "\x00\x00"         # Additional RRs: 0
40              # Queries
41              "\x03\x77\x77\x77\x06\x67\x6f\x6f\x67\x6c\x65\x03\x63\x6f\x6d\x00"
42                                 # Name: www.google.com
43              "\x00\x1c"         # Type: AAAA
44              "\x00\x01"         # Class: IN
45              # Answers
46              "\xc0\x0c"         # Name: www.google.com
47              "\x00\x1c"         # Type: AAAA
48              "\x00\x01"         # Class: IN
49              "\x00\x00\x00\xee" # Time to live: 238
50              "\x00\x10"         # Data length: 16
51              "\x24\x04\x68\x00\x40\x04\x08\x0f\x00\x00\x00\x00\x00\x00\x20\x04"
52                                 # Address: 2404:6800:4004:80f::2004
53}
54packet_mapping {
55    query:    # Header
56              "\x00\x00"         # Transaction ID: 0x0000
57              "\x01\x00"         # Flags: rd
58              "\x00\x01"         # Questions: 1
59              "\x00\x00"         # Answer RRs: 0
60              "\x00\x00"         # Authority RRs: 0
61              "\x00\x00"         # Additional RRs: 0
62              # Queries
63              "\x03\x77\x77\x77\x06\x67\x6f\x6f\x67\x6c\x65\x03\x63\x6f\x6d\x00"
64                                 # Name: www.google.com
65              "\x00\x01"         # Type: A
66              "\x00\x01"         # Class: IN
67    response: # Header
68              "\x00\x00"         # Transaction ID: 0x0000
69              "\x81\x80"         # Flags: qr rd ra
70              "\x00\x01"         # Questions: 1
71              "\x00\x01"         # Answer RRs: 1
72              "\x00\x00"         # Authority RRs: 0
73              "\x00\x00"         # Additional RRs: 0
74              # Queries
75              "\x03\x77\x77\x77\x06\x67\x6f\x6f\x67\x6c\x65\x03\x63\x6f\x6d\x00"
76                                 # Name: www.google.com
77              "\x00\x01"         # Type: A
78              "\x00\x01"         # Class: IN
79              # Answers
80              "\xc0\x0c"         # Name: www.google.com
81              "\x00\x01"         # Type: A
82              "\x00\x01"         # Class: IN
83              "\x00\x00\x00\x03" # Time to live: 3
84              "\x00\x04"         # Data length: 4
85              "\xac\xd9\x1a\x04" # Address: 172.217.26.4
86}