3 target-fetch-policy: "0 0 0 0 0"
4 qname-minimisation: "no"
7 private-address: 10.0.0.0/8
8 private-address: 172.16.0.0/12
9 private-address: 192.168.0.0/16
10 private-address: 169.254.0.0/16
11 private-address: fd00::/8
12 private-address: fe80::/10
14 private-domain: "example.net"
18 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
22 SCENARIO_BEGIN Test iterator scrubber with private addresses.
28 MATCH opcode qtype qname
34 . IN NS K.ROOT-SERVERS.NET.
36 K.ROOT-SERVERS.NET. IN A 193.0.14.129
40 MATCH opcode subdomain
41 ADJUST copy_id copy_query
46 com. IN NS a.gtld-servers.net.
48 a.gtld-servers.net. IN A 192.5.6.30
51 ; root server authoritative for example.net too.
53 MATCH opcode qtype qname
57 mail.example.net. IN A
59 mail.example.net. IN A 10.20.30.40
67 MATCH opcode qtype qname
73 com. IN NS a.gtld-servers.net.
75 a.gtld-servers.net. IN A 192.5.6.30
79 MATCH opcode subdomain
80 ADJUST copy_id copy_query
85 example.com. IN NS ns.example.com.
87 ns.example.com. IN A 1.2.3.4
95 MATCH opcode qtype qname
101 example.com. IN NS ns.example.com.
103 ns.example.com. IN A 1.2.3.4
107 MATCH opcode qtype qname
113 ns.example.com. IN A 1.2.3.4
115 example.com. IN NS ns.example.com.
119 MATCH opcode qtype qname
123 ns.example.com. IN AAAA
128 MATCH opcode qtype qname
132 www.example.com. IN A
134 www.example.com. IN A 192.20.30.40
136 example.com. IN NS ns.example.com.
138 ns.example.com. IN A 1.2.3.4
142 MATCH opcode qtype qname
146 mail.example.com. IN AAAA
148 mail.example.com. IN AAAA fe80::15
150 example.com. IN NS ns.example.com.
152 ns.example.com. IN A 1.2.3.4
156 MATCH opcode qtype qname
160 foo.example.com. IN A
162 foo.example.com. IN A 10.20.30.40
164 example.com. IN NS ns.example.com.
166 ns.example.com. IN A 1.2.3.4
170 MATCH opcode qtype qname
174 toss.example.com. IN A
176 toss.example.com. IN A 10.20.30.40
177 toss.example.com. IN A 1.2.3.4
178 toss.example.com. IN A 10.20.30.41
180 example.com. IN NS ns.example.com.
182 ns.example.com. IN A 1.2.3.4
186 ; public address is not scrubbed
191 www.example.com. IN A
194 ; recursion happens here.
198 REPLY QR RD RA NOERROR
200 www.example.com. IN A
202 www.example.com. IN A 192.20.30.40
204 example.com. IN NS ns.example.com.
206 ns.example.com. IN A 1.2.3.4
209 ; IPv4 address is scrubbed
214 foo.example.com. IN A
217 ; recursion happens here.
221 REPLY QR RD RA SERVFAIL
223 foo.example.com. IN A
226 ;foo.example.com. IN A 10.20.30.40
229 ; IPv6 address is scrubbed
234 mail.example.com. IN AAAA
240 REPLY QR RD RA SERVFAIL
242 mail.example.com. IN AAAA
246 ; allowed domain is not scrubbed.
251 mail.example.net. IN A
257 REPLY QR RD RA NOERROR
259 mail.example.net. IN A
261 mail.example.net. IN A 10.20.30.40
264 ; rest of RRset intact, only 10/8 tossed away.
269 toss.example.com. IN A
275 REPLY QR RD RA NOERROR
277 toss.example.com. IN A
279 ; toss.example.com. IN A 10.20.30.40
280 toss.example.com. IN A 1.2.3.4
282 example.com. IN NS ns.example.com.
284 ns.example.com. IN A 1.2.3.4