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