3 target-fetch-policy: "0 0 0 0 0"
7 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
10 forward-addr: 10.0.0.1
12 name: "sub.example.com"
16 SCENARIO_BEGIN Test iterative resolve with a stub under a forward root zone
22 ; No answers from the actual root, blocked.
30 MATCH opcode qtype qname
36 com. IN NS a.gtld-servers.net.
38 a.gtld-servers.net. IN A 192.5.6.30
42 MATCH opcode qtype qname
48 example.com. IN NS ns.example.com.
50 ns.example.com. IN A 1.2.3.4
58 MATCH opcode qtype qname
64 example.com. IN NS ns.example.com.
66 ns.example.com. IN A 1.2.3.4
70 MATCH opcode qtype qname
76 www.example.com. IN A 10.20.30.40
78 example.com. IN NS ns.example.com.
80 ns.example.com. IN A 1.2.3.4
84 ; forwarder for example.com.
88 MATCH opcode qtype qname
94 example.com. IN NS ns.example.com.
96 ns.example.com. IN A 1.2.3.4
100 MATCH opcode qtype qname
104 www.example.com. IN A
106 www.example.com. IN A 10.0.0.4
108 example.com. IN NS ns.example.com.
110 ns.example.com. IN A 1.2.3.4
113 ; fail all other queries
116 ADJUST copy_id copy_query
123 ; stub for sub.example.com.
127 MATCH opcode qtype qname
131 sub.example.com. IN NS
133 sub.example.com. IN NS ns.sub.example.com.
135 ns.sub.example.com. IN A 1.2.3.44
139 MATCH opcode qtype qname
143 www.sub.example.com. IN A
145 www.sub.example.com. IN A 10.0.0.5
147 sub.example.com. IN NS ns.sub.example.com.
149 ns.sub.example.com. IN A 1.2.3.44
153 ; try to resolve from stub zone
158 www.sub.example.com. IN A
164 REPLY QR RD RA NOERROR
166 www.sub.example.com. IN A
168 www.sub.example.com. IN A 10.0.0.5
170 sub.example.com. IN NS ns.sub.example.com.
172 ns.sub.example.com. IN A 1.2.3.44