]> git.saurik.com Git - apple/network_cmds.git/blame_incremental - unbound/testdata/val_nsec3_b5_wcnodata.rpl
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / val_nsec3_b5_wcnodata.rpl
... / ...
CommitLineData
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.5 wildcard nodata.
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 AAAA
78SECTION ANSWER
79SECTION AUTHORITY
80example. SOA ns1.example. bugs.x.w.example. 1 3600 300 ( 3600000 3600 )
81example. RRSIG SOA 7 1 3600 20150420235959 20051021000000 ( 40430 example. Hu25UIyNPmvPIVBrldN+9Mlp9Zql39qaUd8i q4ZLlYWfUUbbAS41pG+68z81q1xhkYAcEyHd VI2LmKusbZsT0Q== )
82
83;; NSEC3 RR that matches the closest encloser (w.example)
84;; H(w.example) = k8udemvp1j2f7eg6jebps17vp3n8i58h
85k8udemvp1j2f7eg6jebps17vp3n8i58h.example. NSEC3 1 1 12 aabbccdd ( kohar7mbb8dc2ce8a9qvl8hon4k53uhi )
86k8udemvp1j2f7eg6jebps17vp3n8i58h.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. FtXGbvF0+wf8iWkyo73enAuVx03klN+pILBK S6qCcftVtfH4yVzsEZquJ27NHR7ruxJWDNMt Otx7w9WfcIg62A== )
87
88;; NSEC3 RR that covers the "next closer" name (z.w.example)
89;; H(z.w.example) = qlu7gtfaeh0ek0c05ksfhdpbcgglbe03
90q04jkcevqvmu85r014c7dkba38o0ji5r.example. NSEC3 1 1 12 aabbccdd ( r53bq7cc2uvmubfu5ocmm6pers9tk9en A RRSIG )
91q04jkcevqvmu85r014c7dkba38o0ji5r.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. hV5I89b+4FHJDATp09g4bbN0R1F845CaXpL3 ZxlMKimoPAyqletMlEWwLfFia7sdpSzn+ZlN NlkxWcLsIlMmUg== )
92
93;; NSEC3 RR that matches a wildcard at the closest encloser.
94;; H(*.w.example) = r53bq7cc2uvmubfu5ocmm6pers9tk9en
95r53bq7cc2uvmubfu5ocmm6pers9tk9en.example. NSEC3 1 1 12 aabbccdd ( t644ebqk9bibcna874givr6joj62mlhv MX RRSIG )
96r53bq7cc2uvmubfu5ocmm6pers9tk9en.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. aupviViruXs4bDg9rCbezzBMf9h1ZlDvbW/C ZFKulIGXXLj8B/fsDJarXVDA9bnUoRhEbKp+ HF1FWKW7RIJdtQ== )
97
98SECTION ADDITIONAL
99ENTRY_END
100
101; catch glue queries
102ENTRY_BEGIN
103MATCH opcode qtype qname
104ADJUST copy_id
105REPLY QR AA DO NOERROR
106SECTION QUESTION
107ns2.example. IN A
108SECTION ANSWER
109; nothing to make sure the ns1 server is used for queries.
110ENTRY_END
111
112ENTRY_BEGIN
113MATCH opcode qtype qname
114ADJUST copy_id
115REPLY QR AA DO NOERROR
116SECTION QUESTION
117ns2.example. IN AAAA
118SECTION ANSWER
119; nothing to make sure the ns1 server is used for queries.
120ENTRY_END
121
122
123RANGE_END
124
125STEP 1 QUERY
126ENTRY_BEGIN
127REPLY RD DO
128SECTION QUESTION
129a.z.w.example. IN AAAA
130ENTRY_END
131
132; recursion happens here.
133STEP 10 CHECK_ANSWER
134ENTRY_BEGIN
135MATCH all
136REPLY QR RD RA DO NOERROR
137SECTION QUESTION
138a.z.w.example. IN AAAA
139SECTION ANSWER
140SECTION AUTHORITY
141example. SOA ns1.example. bugs.x.w.example. 1 3600 300 ( 3600000 3600 )
142example. RRSIG SOA 7 1 3600 20150420235959 20051021000000 ( 40430 example. Hu25UIyNPmvPIVBrldN+9Mlp9Zql39qaUd8i q4ZLlYWfUUbbAS41pG+68z81q1xhkYAcEyHd VI2LmKusbZsT0Q== )
143k8udemvp1j2f7eg6jebps17vp3n8i58h.example. NSEC3 1 1 12 aabbccdd ( kohar7mbb8dc2ce8a9qvl8hon4k53uhi )
144k8udemvp1j2f7eg6jebps17vp3n8i58h.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. FtXGbvF0+wf8iWkyo73enAuVx03klN+pILBK S6qCcftVtfH4yVzsEZquJ27NHR7ruxJWDNMt Otx7w9WfcIg62A== )
145q04jkcevqvmu85r014c7dkba38o0ji5r.example. NSEC3 1 1 12 aabbccdd ( r53bq7cc2uvmubfu5ocmm6pers9tk9en A RRSIG )
146q04jkcevqvmu85r014c7dkba38o0ji5r.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. hV5I89b+4FHJDATp09g4bbN0R1F845CaXpL3 ZxlMKimoPAyqletMlEWwLfFia7sdpSzn+ZlN NlkxWcLsIlMmUg== )
147r53bq7cc2uvmubfu5ocmm6pers9tk9en.example. NSEC3 1 1 12 aabbccdd ( t644ebqk9bibcna874givr6joj62mlhv MX RRSIG )
148r53bq7cc2uvmubfu5ocmm6pers9tk9en.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. aupviViruXs4bDg9rCbezzBMf9h1ZlDvbW/C ZFKulIGXXLj8B/fsDJarXVDA9bnUoRhEbKp+ HF1FWKW7RIJdtQ== )
149
150SECTION ADDITIONAL
151ENTRY_END
152
153SCENARIO_END