]> git.saurik.com Git - apple/network_cmds.git/blame - unbound/testdata/domain_insec_dlv.rpl
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / domain_insec_dlv.rpl
CommitLineData
89c4ed63
A
1; config options
2; The island of trust is at example.com (the DLV repository)
3server:
4 dlv-anchor: "example.com. 3600 IN DS 2854 3 1 46e4ffc6e9a4793b488954bd3f0cc6af0dfb201b"
5 domain-insecure: "example.net"
6 val-override-date: "20070916134226"
7 target-fetch-policy: "0 0 0 0 0"
8
9stub-zone:
10 name: "."
11 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
12CONFIG_END
13
14SCENARIO_BEGIN Test validator with domain-insecure below a DLV
15; positive response for DLV.
16
17; K.ROOT-SERVERS.NET.
18RANGE_BEGIN 0 100
19 ADDRESS 193.0.14.129
20ENTRY_BEGIN
21MATCH opcode qtype qname
22ADJUST copy_id
23REPLY QR NOERROR
24SECTION QUESTION
25. IN NS
26SECTION ANSWER
27. IN NS K.ROOT-SERVERS.NET.
28SECTION ADDITIONAL
29K.ROOT-SERVERS.NET. IN A 193.0.14.129
30ENTRY_END
31
32ENTRY_BEGIN
33MATCH opcode subdomain
34ADJUST copy_id copy_query
35REPLY QR NOERROR
36SECTION QUESTION
37com. IN A
38SECTION AUTHORITY
39com. IN NS a.gtld-servers.net.
40SECTION ADDITIONAL
41a.gtld-servers.net. IN A 192.5.6.30
42ENTRY_END
43
44ENTRY_BEGIN
45MATCH opcode subdomain
46ADJUST copy_id copy_query
47REPLY QR NOERROR
48SECTION QUESTION
49net. IN A
50SECTION AUTHORITY
51net. IN NS a.gtld-servers.net.
52SECTION ADDITIONAL
53a.gtld-servers.net. IN A 192.5.6.30
54ENTRY_END
55RANGE_END
56
57; a.gtld-servers.net.
58RANGE_BEGIN 0 100
59 ADDRESS 192.5.6.30
60ENTRY_BEGIN
61MATCH opcode qtype qname
62ADJUST copy_id
63REPLY QR NOERROR
64SECTION QUESTION
65com. IN NS
66SECTION ANSWER
67com. IN NS a.gtld-servers.net.
68SECTION ADDITIONAL
69a.gtld-servers.net. IN A 192.5.6.30
70ENTRY_END
71
72ENTRY_BEGIN
73MATCH opcode qtype qname
74ADJUST copy_id
75REPLY QR NOERROR
76SECTION QUESTION
77net. IN NS
78SECTION ANSWER
79net. IN NS a.gtld-servers.net.
80SECTION ADDITIONAL
81a.gtld-servers.net. IN A 192.5.6.30
82ENTRY_END
83
84ENTRY_BEGIN
85MATCH opcode subdomain
86ADJUST copy_id copy_query
87REPLY QR NOERROR
88SECTION QUESTION
89example.com. IN A
90SECTION AUTHORITY
91example.com. IN NS ns.example.com.
92SECTION ADDITIONAL
93ns.example.com. IN A 1.2.3.4
94ENTRY_END
95
96ENTRY_BEGIN
97MATCH opcode subdomain
98ADJUST copy_id copy_query
99REPLY QR NOERROR
100SECTION QUESTION
101example.net. IN A
102SECTION AUTHORITY
103example.net. IN NS ns.example.net.
104SECTION ADDITIONAL
105ns.example.net. IN A 1.2.3.5
106ENTRY_END
107RANGE_END
108
109; ns.example.com.
110RANGE_BEGIN 0 100
111 ADDRESS 1.2.3.4
112ENTRY_BEGIN
113MATCH opcode qtype qname
114ADJUST copy_id
115REPLY QR NOERROR
116SECTION QUESTION
117example.com. IN NS
118SECTION ANSWER
119example.com. IN NS ns.example.com.
120example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
121SECTION ADDITIONAL
122ns.example.com. IN A 1.2.3.4
123ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
124ENTRY_END
125
126; response to DNSKEY priming query
127ENTRY_BEGIN
128MATCH opcode qtype qname
129ADJUST copy_id
130REPLY QR NOERROR
131SECTION QUESTION
132example.com. IN DNSKEY
133SECTION ANSWER
134example.com. 3600 IN DNSKEY 256 3 3 ALXLUsWqUrY3JYER3T4TBJII s70j+sDS/UT2QRp61SE7S3E EXopNXoFE73JLRmvpi/UrOO/Vz4Se 6wXv/CYCKjGw06U4WRgR YXcpEhJROyNapmdIKSx hOzfLVE1gqA0PweZR8d tY3aNQSRn3sPpwJr6Mi /PqQKAMMrZ9ckJpf1+b QMOOvxgzz2U1GS18b3y ZKcgTMEaJzd/GZYzi/B N2DzQ0MsrSwYXfsNLFO Bbs8PJMW4LYIxeeOe6rUgkWOF 7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2854 (zsk), size = 1688b}
135example.com. 3600 IN RRSIG DNSKEY 3 2 3600 20070926134802 20070829134802 2854 example.com. MCwCFG1yhRNtTEa3Eno2zhVVuy2EJX3wAhQeLyUp6+UXcpC5qGNu9tkrTEgPUg== ;{id = 2854}
136SECTION AUTHORITY
137example.com. IN NS ns.example.com.
138example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
139SECTION ADDITIONAL
140ns.example.com. IN A 1.2.3.4
141ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
142ENTRY_END
143
144; DLV query
145ENTRY_BEGIN
146MATCH opcode qtype qname
147ADJUST copy_id
148REPLY QR NOERROR
149SECTION QUESTION
150example.net.example.com. IN DLV
151SECTION ANSWER
152example.net.example.com. 3600 IN DLV 30899 5 1 14188c885f20623ad1d3bec42798f3f951793e4c ; xehac-mofum-malyd-bomaf-pegit-fuzes-ganin-misiz-nigel-nozog-soxix
153example.net.example.com. 3600 IN RRSIG DLV 3 4 3600 20070926134150 20070829134150 2854 example.com. ACK48Q/oKwh/SM9yRiKjZYuc+AtEZ2yCPNJ15kKCN8nsVcv7xigmNTY= ;{id = 2854}
154SECTION AUTHORITY
155example.com. IN NS ns.example.com.
156example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
157SECTION ADDITIONAL
158ns.example.com. IN A 1.2.3.4
159ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
160ENTRY_END
161
162ENTRY_BEGIN
163MATCH opcode qtype qname
164ADJUST copy_id
165REPLY QR NOERROR
166SECTION QUESTION
167net.example.com. IN DLV
168SECTION ANSWER
169SECTION AUTHORITY
170example.com. IN SOA open.nlnetlabs.nl. hostmaster.nlnetlabs.nl. 2008081300 28800 7200 604800 3600
171example.com. 3600 IN RRSIG SOA 3 2 3600 20070926134150 20070829134150 2854 example.com. AKPJnPBqfJKxE4P2iVYkSRJno9HmiXJZtjdqE8oBeq9Lk9FytcMdcig= ;{id = 2854}
172example.com IN NSEC example.net.example.com. SOA NS RRSIG NSEC
173example.com. 3600 IN RRSIG NSEC 3 2 3600 20070926134150 20070829134150 2854 example.com. AIoUkJ04/7/kJFDLocoqksqt9UL2RHHwlRfXAMxGdBHcNO+GSpG47Uk= ;{id = 2854}
174ENTRY_END
175
176ENTRY_BEGIN
177MATCH opcode qtype qname
178ADJUST copy_id
179REPLY QR NXDOMAIN
180SECTION QUESTION
181com.example.com. IN DLV
182SECTION ANSWER
183SECTION AUTHORITY
184example.com. IN SOA open.nlnetlabs.nl. hostmaster.nlnetlabs.nl. 2008081300 28800 7200 604800 3600
185example.com. 3600 IN RRSIG SOA 3 2 3600 20070926134150 20070829134150 2854 example.com. AKPJnPBqfJKxE4P2iVYkSRJno9HmiXJZtjdqE8oBeq9Lk9FytcMdcig= ;{id = 2854}
186example.com IN NSEC example.net.example.com. SOA NS RRSIG NSEC
187example.com. 3600 IN RRSIG NSEC 3 2 3600 20070926134150 20070829134150 2854 example.com. AIoUkJ04/7/kJFDLocoqksqt9UL2RHHwlRfXAMxGdBHcNO+GSpG47Uk= ;{id = 2854}
188ENTRY_END
189
190RANGE_END
191
192; ns.example.net.
193RANGE_BEGIN 0 100
194 ADDRESS 1.2.3.5
195; DS RR is
196; example.net. 3600 IN DS 30899 5 1 14188c885f20623ad1d3bec42798f3f951793e4c ; xehac-mofum-malyd-bomaf-pegit-fuzes-ganin-misiz-nigel-nozog-soxix
197; DNSKEY prime query
198ENTRY_BEGIN
199MATCH opcode qtype qname
200ADJUST copy_id
201REPLY QR NOERROR
202SECTION QUESTION
203example.net. IN DNSKEY
204SECTION ANSWER
205example.net. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
206example.net. 3600 IN RRSIG DNSKEY RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. hiFzlQ8VoYgCuvIsfVuxC3mfJDqsTh0yc6abs5xMx5uEcIjb0dndFQx7INOM+imlzveEN73Hqp4OLFpFhsWLlw== ;{id = 30899}
207SECTION AUTHORITY
208example.net. IN NS ns.example.net.
209example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
210SECTION ADDITIONAL
211ns.example.net. IN A 1.2.3.5
212ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
213ENTRY_END
214
215; NS query
216ENTRY_BEGIN
217MATCH opcode qtype qname
218ADJUST copy_id
219REPLY QR NOERROR
220SECTION QUESTION
221example.net. IN NS
222SECTION ANSWER
223example.net. IN NS ns.example.net.
224example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
225SECTION ADDITIONAL
226ns.example.net. IN A 1.2.3.5
227ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
228ENTRY_END
229
230; www.example.net query
231ENTRY_BEGIN
232MATCH opcode qtype qname
233ADJUST copy_id
234REPLY QR NOERROR
235SECTION QUESTION
236www.example.net. IN A
237SECTION ANSWER
238www.example.net. 3600 IN A 10.20.30.40
239www.example.net. 3600 IN RRSIG A 5 3 3600 20070926135752 20070829135752 30899 example.net. ACvv4RQVC7TbI57ewqFImRaVoymktJ5Cxn/FaCodIENt82LVM92nivbP2WtwWCsQHWp7FkrMxTlQTJwyAeXFyg== ;{id = 30899}
240SECTION AUTHORITY
241example.net. IN NS ns.example.net.
242example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
243SECTION ADDITIONAL
244ns.example.net. IN A 1.2.3.5
245ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
246ENTRY_END
247
248
249RANGE_END
250
251STEP 1 QUERY
252ENTRY_BEGIN
253REPLY RD DO
254SECTION QUESTION
255www.example.net. IN A
256ENTRY_END
257
258; recursion happens here.
259STEP 10 CHECK_ANSWER
260ENTRY_BEGIN
261MATCH all
262REPLY QR RD RA DO NOERROR
263SECTION QUESTION
264www.example.net. IN A
265SECTION ANSWER
266www.example.net. 3600 IN A 10.20.30.40
267www.example.net. 3600 IN RRSIG A 5 3 3600 20070926135752 20070829135752 30899 example.net. ACvv4RQVC7TbI57ewqFImRaVoymktJ5Cxn/FaCodIENt82LVM92nivbP2WtwWCsQHWp7FkrMxTlQTJwyAeXFyg== ;{id = 30899}
268SECTION AUTHORITY
269example.net. IN NS ns.example.net.
270example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
271SECTION ADDITIONAL
272ns.example.net. IN A 1.2.3.5
273ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
274ENTRY_END
275
276SCENARIO_END