3 target-fetch-policy: "0 0 0 0 0"
5 private-address: 10.0.0.0/8
6 private-address: 172.16.0.0/12
7 private-address: 192.168.0.0/16
8 private-address: 169.254.0.0/16
9 private-address: fd00::/8
10 private-address: fe80::/10
12 private-domain: "example.net"
16 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
20 SCENARIO_BEGIN Test iterator scrubber with private addresses.
26 MATCH opcode qtype qname
32 . IN NS K.ROOT-SERVERS.NET.
34 K.ROOT-SERVERS.NET. IN A 193.0.14.129
38 MATCH opcode subdomain
39 ADJUST copy_id copy_query
44 com. IN NS a.gtld-servers.net.
46 a.gtld-servers.net. IN A 192.5.6.30
49 ; root server authoritative for example.net too.
51 MATCH opcode qtype qname
55 mail.example.net. IN A
57 mail.example.net. IN A 10.20.30.40
65 MATCH opcode qtype qname
71 com. IN NS a.gtld-servers.net.
73 a.gtld-servers.net. IN A 192.5.6.30
77 MATCH opcode subdomain
78 ADJUST copy_id copy_query
83 example.com. IN NS ns.example.com.
85 ns.example.com. IN A 1.2.3.4
93 MATCH opcode qtype qname
99 example.com. IN NS ns.example.com.
101 ns.example.com. IN A 1.2.3.4
105 MATCH opcode qtype qname
111 ns.example.com. IN A 1.2.3.4
113 example.com. IN NS ns.example.com.
117 MATCH opcode qtype qname
121 ns.example.com. IN AAAA
126 MATCH opcode qtype qname
130 www.example.com. IN A
132 www.example.com. IN A 192.20.30.40
134 example.com. IN NS ns.example.com.
136 ns.example.com. IN A 1.2.3.4
140 MATCH opcode qtype qname
144 mail.example.com. IN AAAA
146 mail.example.com. IN AAAA fe80::15
148 example.com. IN NS ns.example.com.
150 ns.example.com. IN A 1.2.3.4
154 MATCH opcode qtype qname
158 foo.example.com. IN A
160 foo.example.com. IN A 10.20.30.40
162 example.com. IN NS ns.example.com.
164 ns.example.com. IN A 1.2.3.4
168 MATCH opcode qtype qname
172 toss.example.com. IN A
174 toss.example.com. IN A 10.20.30.40
175 toss.example.com. IN A 1.2.3.4
176 toss.example.com. IN A 10.20.30.41
178 example.com. IN NS ns.example.com.
180 ns.example.com. IN A 1.2.3.4
184 ; public address is not scrubbed
189 www.example.com. IN A
192 ; recursion happens here.
196 REPLY QR RD RA NOERROR
198 www.example.com. IN A
200 www.example.com. IN A 192.20.30.40
202 example.com. IN NS ns.example.com.
204 ns.example.com. IN A 1.2.3.4
207 ; IPv4 address is scrubbed
212 foo.example.com. IN A
215 ; recursion happens here.
219 REPLY QR RD RA SERVFAIL
221 foo.example.com. IN A
224 ;foo.example.com. IN A 10.20.30.40
227 ; IPv6 address is scrubbed
232 mail.example.com. IN AAAA
238 REPLY QR RD RA SERVFAIL
240 mail.example.com. IN AAAA
244 ; allowed domain is not scrubbed.
249 mail.example.net. IN A
255 REPLY QR RD RA NOERROR
257 mail.example.net. IN A
259 mail.example.net. IN A 10.20.30.40
262 ; rest of RRset intact, only 10/8 tossed away.
267 toss.example.com. IN A
273 REPLY QR RD RA NOERROR
275 toss.example.com. IN A
277 ; toss.example.com. IN A 10.20.30.40
278 toss.example.com. IN A 1.2.3.4
280 example.com. IN NS ns.example.com.
282 ns.example.com. IN A 1.2.3.4