]> git.saurik.com Git - apple/network_cmds.git/blame - unbound/testdata/val_nsec3_b4_wild.rpl
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / val_nsec3_b4_wild.rpl
CommitLineData
89c4ed63
A
1; config options
2server:
3 trust-anchor: "example. DNSKEY 257 3 7 AwEAAcUlFV1vhmqx6NSOUOq2R/dsR7Xm3upJ ( j7IommWSpJABVfW8Q0rOvXdM6kzt+TAu92L9 AbsUdblMFin8CVF3n4s= )"
4 val-override-date: "20120420235959"
5 target-fetch-policy: "0 0 0 0 0"
6
7stub-zone:
8 name: "."
9 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
10CONFIG_END
11
12SCENARIO_BEGIN Test validator NSEC3 B.4 wildcard expansion.
13
14; K.ROOT-SERVERS.NET.
15RANGE_BEGIN 0 100
16 ADDRESS 193.0.14.129
17ENTRY_BEGIN
18MATCH opcode qtype qname
19ADJUST copy_id
20REPLY QR NOERROR
21SECTION QUESTION
22. IN NS
23SECTION ANSWER
24. IN NS K.ROOT-SERVERS.NET.
25SECTION ADDITIONAL
26K.ROOT-SERVERS.NET. IN A 193.0.14.129
27ENTRY_END
28
29ENTRY_BEGIN
30MATCH opcode
31ADJUST copy_id copy_query
32REPLY QR NOERROR
33SECTION QUESTION
34. IN A
35SECTION AUTHORITY
36example. IN NS ns1.example.
37; leave out to make unbound take ns1
38;example. IN NS ns2.example.
39SECTION ADDITIONAL
40ns1.example. IN A 192.0.2.1
41; leave out to make unbound take ns1
42;ns2.example. IN A 192.0.2.2
43ENTRY_END
44RANGE_END
45
46; ns1.example.
47RANGE_BEGIN 0 100
48 ADDRESS 192.0.2.1
49ENTRY_BEGIN
50MATCH opcode qtype qname
51ADJUST copy_id copy_query
52REPLY QR REFUSED
53SECTION QUESTION
54example. IN NS
55SECTION ANSWER
56ENTRY_END
57
58; response to DNSKEY priming query
59
60ENTRY_BEGIN
61MATCH opcode qtype qname
62ADJUST copy_id
63REPLY QR NOERROR
64SECTION QUESTION
65example. IN DNSKEY
66SECTION ANSWER
67example. DNSKEY 256 3 7 AwEAAaetidLzsKWUt4swWR8yu0wPHPiUi8LU ( sAD0QPWU+wzt89epO6tHzkMBVDkC7qphQO2h TY4hHn9npWFRw5BYubE= )
68example. DNSKEY 257 3 7 AwEAAcUlFV1vhmqx6NSOUOq2R/dsR7Xm3upJ ( j7IommWSpJABVfW8Q0rOvXdM6kzt+TAu92L9 AbsUdblMFin8CVF3n4s= )
69example. RRSIG DNSKEY 7 1 3600 20150420235959 ( 20051021000000 12708 example. AuU4juU9RaxescSmStrQks3Gh9FblGBlVU31 uzMZ/U/FpsUb8aC6QZS+sTsJXnLnz7flGOsm MGQZf3bH+QsCtg== )
70ENTRY_END
71
72ENTRY_BEGIN
73MATCH opcode qtype qname
74ADJUST copy_id
75REPLY QR AA DO NOERROR
76SECTION QUESTION
77a.z.w.example. IN MX
78SECTION ANSWER
79a.z.w.example. MX 1 ai.example.
80a.z.w.example. RRSIG MX 7 2 3600 20150420235959 20051021000000 ( 40430 example. CikebjQwGQPwijVcxgcZcSJKtfynugtlBiKb 9FcBTrmOoyQ4InoWVudhCWsh/URX3lc4WRUM ivEBP6+4KS3ldA== )
81SECTION AUTHORITY
82example. NS ns1.example.
83example. NS ns2.example.
84example. RRSIG NS 7 1 3600 20150420235959 20051021000000 ( 40430 example. PVOgtMK1HHeSTau+HwDWC8Ts+6C8qtqd4pQJ qOtdEVgg+MA+ai4fWDEhu3qHJyLcQ9tbD2vv CnMXjtz6SyObxA== )
85
86;; NSEC3 RR that covers the "next closer" name (z.w.example)
87;; H(z.w.example) = qlu7gtfaeh0ek0c05ksfhdpbcgglbe03
88q04jkcevqvmu85r014c7dkba38o0ji5r.example. NSEC3 1 1 12 aabbccdd ( r53bq7cc2uvmubfu5ocmm6pers9tk9en A RRSIG )
89q04jkcevqvmu85r014c7dkba38o0ji5r.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. hV5I89b+4FHJDATp09g4bbN0R1F845CaXpL3 ZxlMKimoPAyqletMlEWwLfFia7sdpSzn+ZlN NlkxWcLsIlMmUg== )
90
91SECTION ADDITIONAL
92ai.example. A 192.0.2.9
93ai.example. RRSIG A 7 2 3600 20150420235959 20051021000000 ( 40430 example. hVe+wKYMlObTRPhX0NL67GxeZfdxqr/QeR6F tfdAj5+FgYxyzPEjIzvKWy00hWIl6wD3Vws+ rznEn8sQ64UdqA== )
94ai.example. AAAA 2001:db8:0:0:0:0:f00:baa9
95ai.example. RRSIG AAAA 7 2 3600 20150420235959 20051021000000 ( 40430 example. LcdxKaCB5bGZwPDg+3JJ4O02zoMBrjxqlf6W uaHQZZfTUpb9Nf2nxFGe2XRPfR5tpJT6GdRG cHueLuXkMjBArQ== )
96ENTRY_END
97
98; catch glue queries
99ENTRY_BEGIN
100MATCH opcode qtype qname
101ADJUST copy_id
102REPLY QR AA DO NOERROR
103SECTION QUESTION
104ns2.example. IN A
105SECTION ANSWER
106; nothing to make sure the ns1 server is used for queries.
107ENTRY_END
108
109ENTRY_BEGIN
110MATCH opcode qtype qname
111ADJUST copy_id
112REPLY QR AA DO NOERROR
113SECTION QUESTION
114ns2.example. IN AAAA
115SECTION ANSWER
116; nothing to make sure the ns1 server is used for queries.
117ENTRY_END
118
119
120RANGE_END
121
122STEP 1 QUERY
123ENTRY_BEGIN
124REPLY RD DO
125SECTION QUESTION
126a.z.w.example. IN MX
127ENTRY_END
128
129; recursion happens here.
130STEP 10 CHECK_ANSWER
131ENTRY_BEGIN
132MATCH all
133REPLY QR RD RA DO NOERROR
134SECTION QUESTION
135a.z.w.example. IN MX
136SECTION ANSWER
137a.z.w.example. MX 1 ai.example.
138a.z.w.example. RRSIG MX 7 2 3600 20150420235959 20051021000000 ( 40430 example. CikebjQwGQPwijVcxgcZcSJKtfynugtlBiKb 9FcBTrmOoyQ4InoWVudhCWsh/URX3lc4WRUM ivEBP6+4KS3ldA== )
139SECTION AUTHORITY
140example. NS ns1.example.
141example. NS ns2.example.
142example. RRSIG NS 7 1 3600 20150420235959 20051021000000 ( 40430 example. PVOgtMK1HHeSTau+HwDWC8Ts+6C8qtqd4pQJ qOtdEVgg+MA+ai4fWDEhu3qHJyLcQ9tbD2vv CnMXjtz6SyObxA== )
143q04jkcevqvmu85r014c7dkba38o0ji5r.example. NSEC3 1 1 12 aabbccdd ( r53bq7cc2uvmubfu5ocmm6pers9tk9en A RRSIG )
144q04jkcevqvmu85r014c7dkba38o0ji5r.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. hV5I89b+4FHJDATp09g4bbN0R1F845CaXpL3 ZxlMKimoPAyqletMlEWwLfFia7sdpSzn+ZlN NlkxWcLsIlMmUg== )
145
146SECTION ADDITIONAL
147ai.example. A 192.0.2.9
148ai.example. AAAA 2001:db8:0:0:0:0:f00:baa9
149ai.example. RRSIG A 7 2 3600 20150420235959 20051021000000 ( 40430 example. hVe+wKYMlObTRPhX0NL67GxeZfdxqr/QeR6F tfdAj5+FgYxyzPEjIzvKWy00hWIl6wD3Vws+ rznEn8sQ64UdqA== )
150ai.example. RRSIG AAAA 7 2 3600 20150420235959 20051021000000 ( 40430 example. LcdxKaCB5bGZwPDg+3JJ4O02zoMBrjxqlf6W uaHQZZfTUpb9Nf2nxFGe2XRPfR5tpJT6GdRG cHueLuXkMjBArQ== )
151ENTRY_END
152SCENARIO_END