]> git.saurik.com Git - apple/network_cmds.git/blame - unbound/testdata/val_unalgo_ds.rpl
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / val_unalgo_ds.rpl
CommitLineData
89c4ed63
A
1; config options
2; The island of trust is at example.com
3server:
4 trust-anchor: "example.com. 3600 IN DS 2854 3 1 46e4ffc6e9a4793b488954bd3f0cc6af0dfb201b"
5 val-override-date: "20070916134226"
6 target-fetch-policy: "0 0 0 0 0"
7
8stub-zone:
9 name: "."
10 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
11CONFIG_END
12
13SCENARIO_BEGIN Test validator with unknown algorithm delegation
14; DS has unknown algo only.
15; so subzone has to be treated as unsigned.
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 qtype qname
34ADJUST copy_id
35REPLY QR NOERROR
36SECTION QUESTION
37www.sub.example.com. 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
43RANGE_END
44
45; a.gtld-servers.net.
46RANGE_BEGIN 0 100
47 ADDRESS 192.5.6.30
48ENTRY_BEGIN
49MATCH opcode qtype qname
50ADJUST copy_id
51REPLY QR NOERROR
52SECTION QUESTION
53com. IN NS
54SECTION ANSWER
55com. IN NS a.gtld-servers.net.
56SECTION ADDITIONAL
57a.gtld-servers.net. IN A 192.5.6.30
58ENTRY_END
59
60ENTRY_BEGIN
61MATCH opcode qtype qname
62ADJUST copy_id
63REPLY QR NOERROR
64SECTION QUESTION
65www.sub.example.com. IN A
66SECTION AUTHORITY
67example.com. IN NS ns.example.com.
68SECTION ADDITIONAL
69ns.example.com. IN A 1.2.3.4
70ENTRY_END
71RANGE_END
72
73; ns.example.com.
74RANGE_BEGIN 0 100
75 ADDRESS 1.2.3.4
76ENTRY_BEGIN
77MATCH opcode qtype qname
78ADJUST copy_id
79REPLY QR NOERROR
80SECTION QUESTION
81example.com. IN NS
82SECTION ANSWER
83example.com. IN NS ns.example.com.
84example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
85SECTION ADDITIONAL
86ns.example.com. IN A 1.2.3.4
87ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
88ENTRY_END
89
90; response to DNSKEY priming query
91ENTRY_BEGIN
92MATCH opcode qtype qname
93ADJUST copy_id
94REPLY QR NOERROR
95SECTION QUESTION
96example.com. IN DNSKEY
97SECTION ANSWER
98example.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}
99example.com. 3600 IN RRSIG DNSKEY DSA 2 3600 20070926134150 20070829134150 2854 example.com. MCwCFBQRtlR4BEv9ohi+PGFjp+AHsJuHAhRCvz0shggvnvI88DFnBDCczHUcVA== ;{id = 2854}
100SECTION AUTHORITY
101example.com. IN NS ns.example.com.
102example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
103SECTION ADDITIONAL
104ns.example.com. IN A 1.2.3.4
105ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
106ENTRY_END
107
108; response for delegation to sub.example.com.
109ENTRY_BEGIN
110MATCH opcode qtype subdomain
111ADJUST copy_id copy_query
112REPLY QR NOERROR
113SECTION QUESTION
114sub.example.com. IN A
115SECTION ANSWER
116SECTION AUTHORITY
117sub.example.com. IN NS ns.sub.example.com.
118; algorithm 208 is unknown.
119sub.example.com. 3600 IN DS 30899 208 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3
120sub.example.com. 3600 IN RRSIG DS 3 3 3600 20070926134150 20070829134150 2854 example.com. AEMPMNVJAygL0TyRUU+MVgP4FA7jSIpVj6628IdLe7eY3OwWp3hUTnU= ;{id = 2854}
121;sub.example.com. 3600 IN DS 30899 RSASHA1 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3
122;sub.example.com. 3600 IN RRSIG DS 3 3 3600 20070926134150 20070829134150 2854 example.com. MCwCFCW3ix0GD4BSvNLWIbROCJt5DAW9AhRt/kg9kBKJ20UBUdumrBUHqnskdA== ;{id = 2854}
123SECTION ADDITIONAL
124ns.sub.example.com. IN A 1.2.3.6
125ENTRY_END
126RANGE_END
127
128; ns.sub.example.com.
129RANGE_BEGIN 0 100
130 ADDRESS 1.2.3.6
131ENTRY_BEGIN
132MATCH opcode qtype qname
133ADJUST copy_id
134REPLY QR NOERROR
135SECTION QUESTION
136sub.example.com. IN NS
137SECTION ANSWER
138sub.example.com. IN NS ns.sub.example.com.
139sub.example.com. 3600 IN RRSIG NS 5 3 3600 20070926134150 20070829134150 30899 sub.example.com. wcpHeBILHfo8C9uxMhcW03gcURZeUffiKdSTb50ZjzTHgMNhRyMfpcvSpXEd9548A9UTmWKeLZChfr5Z/glONw== ;{id = 30899}
140SECTION ADDITIONAL
141ns.sub.example.com. IN A 1.2.3.6
142ns.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. UF7shD/gt1FOp2UHgLTNbPzVykklSXFMEtJ1xD+Hholwf/PIzd7zoaIttIYibNa4fUXCqMg22H9P7MRhfmFe6g== ;{id = 30899}
143ENTRY_END
144
145; response to DNSKEY priming query
146; sub.example.com. 3600 IN DS 30899 RSASHA1 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3
147ENTRY_BEGIN
148MATCH opcode qtype qname
149ADJUST copy_id
150REPLY QR NOERROR
151SECTION QUESTION
152sub.example.com. IN DNSKEY
153SECTION ANSWER
154sub.example.com. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
155sub.example.com. 3600 IN RRSIG DNSKEY 5 3 3600 20070926134150 20070829134150 30899 sub.example.com. uNGp99iznjD7oOX02XnQbDnbg75UwBHRvZSKYUorTKvPUnCWMHKdRsQ+mf+Fx3GZ+Fz9BVjoCmQqpnfgXLEYqw== ;{id = 30899}
156SECTION AUTHORITY
157sub.example.com. IN NS ns.sub.example.com.
158sub.example.com. 3600 IN RRSIG NS 5 3 3600 20070926134150 20070829134150 30899 sub.example.com. wcpHeBILHfo8C9uxMhcW03gcURZeUffiKdSTb50ZjzTHgMNhRyMfpcvSpXEd9548A9UTmWKeLZChfr5Z/glONw== ;{id = 30899}
159SECTION ADDITIONAL
160ns.sub.example.com. IN A 1.2.3.6
161ns.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. UF7shD/gt1FOp2UHgLTNbPzVykklSXFMEtJ1xD+Hholwf/PIzd7zoaIttIYibNa4fUXCqMg22H9P7MRhfmFe6g== ;{id = 30899}
162ENTRY_END
163
164; response to query of interest
165ENTRY_BEGIN
166MATCH opcode qtype qname
167ADJUST copy_id
168REPLY QR NOERROR
169SECTION QUESTION
170www.sub.example.com. IN A
171SECTION ANSWER
172www.sub.example.com. IN A 11.11.11.11
173www.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. 0DqqRfRtm7VSEQ4mmBbzrKRqQAay3JAE8DPDGmjtokrrjN9F1G/HxozDV7bjdIh2EChlQea8FPwf/GepJMUVxg== ;{id = 30899}
174SECTION AUTHORITY
175SECTION ADDITIONAL
176ENTRY_END
177RANGE_END
178
179STEP 1 QUERY
180ENTRY_BEGIN
181REPLY RD DO
182SECTION QUESTION
183www.sub.example.com. IN A
184ENTRY_END
185
186; recursion happens here.
187STEP 10 CHECK_ANSWER
188ENTRY_BEGIN
189MATCH all
190REPLY QR RD RA DO NOERROR
191SECTION QUESTION
192www.sub.example.com. IN A
193SECTION ANSWER
194www.sub.example.com. 3600 IN A 11.11.11.11
195www.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. 0DqqRfRtm7VSEQ4mmBbzrKRqQAay3JAE8DPDGmjtokrrjN9F1G/HxozDV7bjdIh2EChlQea8FPwf/GepJMUVxg== ;{id = 30899}
196SECTION AUTHORITY
197SECTION ADDITIONAL
198ENTRY_END
199
200SCENARIO_END