]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/testdata/val_stub_noroot.rpl
369bc66e428f68c4270ae1c9ed2bbec752d3b64c
[apple/network_cmds.git] / unbound / testdata / val_stub_noroot.rpl
1 ; config options
2 server:
3 target-fetch-policy: "0 0 0 0 0"
4 trust-anchor: "lp0.eu. IN DNSKEY 257 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3"
5 val-override-date: "20100913111500"
6 ; the dlv anchor is completely ignored, but here to test that.
7 dlv-anchor: "dlv.isc.org. IN DNSKEY 257 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3"
8
9 stub-zone:
10 name: "."
11 stub-addr: 81.187.81.187
12 stub-zone:
13 name: "lp0.eu"
14 stub-addr: 81.2.80.65
15 stub-prime: no
16 CONFIG_END
17
18 SCENARIO_BEGIN Test validation of stub zone without root prime.
19
20 ; this server does not respond. (for the root)
21 RANGE_BEGIN 0 100
22 ADDRESS 81.187.81.187
23 ENTRY_BEGIN
24 MATCH
25 ADJUST copy_id copy_query
26 REPLY QR SERVFAIL
27 SECTION QUESTION
28 . IN NS
29 ENTRY_END
30 RANGE_END
31
32 ; lp0.eu server
33 RANGE_BEGIN 0 100
34 ADDRESS 81.2.80.65
35 ENTRY_BEGIN
36 MATCH opcode qtype qname
37 ADJUST copy_id
38 REPLY QR NOERROR
39 SECTION QUESTION
40 lp0.eu. IN DNSKEY
41 SECTION ANSWER
42 lp0.eu. 3600 IN DNSKEY 257 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30900 (ksk), size = 512b}
43 lp0.eu. 3600 IN RRSIG DNSKEY 5 2 3600 20101013111500 20100909111500 30900 lp0.eu. zWYOT1zmB2k7hMl7mke7k1UNp4lDveUxi2EnF0tW++j2/qJopiAAcFHBo2GOo88jHcLWycurf0Qo+YGXfFbpEg== ;{id = 30900}
44 ENTRY_END
45
46 ENTRY_BEGIN
47 MATCH opcode qtype qname
48 ADJUST copy_id
49 REPLY QR NOERROR
50 SECTION QUESTION
51 proxima.lp0.eu. IN A
52 SECTION ANSWER
53 proxima.lp0.eu. IN A 81.2.80.65
54 proxima.lp0.eu. 3600 IN RRSIG A 5 3 3600 20101013111500 20100909111500 30900 lp0.eu. xwS3PLSlxh500pDYh/t6fnLzxQAra6n3nhzk4fVqLzwmneBIfcx4F/vO44wRzXSprz1UbMkVUcruTbQYlLFBEg== ;{id = 30900}
55 SECTION AUTHORITY
56 lp0.eu. IN NS proxima.lp0.eu.
57 lp0.eu. 3600 IN RRSIG NS 5 2 3600 20101013111500 20100909111500 30900 lp0.eu. KM7Zfwc1b0Ay8Ezer0ZAERPbmgGzKIrTfZMxzXzSkVx5DWirTtdgPTNVG/y9fkN4tUARNhElN2eb0ufb04Hdgw== ;{id = 30900}
58 ENTRY_END
59 RANGE_END
60
61 STEP 1 QUERY
62 ENTRY_BEGIN
63 REPLY RD DO
64 SECTION QUESTION
65 proxima.lp0.eu. IN A
66 ENTRY_END
67
68 ; recursion happens here.
69 STEP 10 CHECK_ANSWER
70 ENTRY_BEGIN
71 MATCH all
72 REPLY QR RD RA AD DO NOERROR
73 SECTION QUESTION
74 proxima.lp0.eu. IN A
75 SECTION ANSWER
76 proxima.lp0.eu. IN A 81.2.80.65
77 proxima.lp0.eu. 3600 IN RRSIG A 5 3 3600 20101013111500 20100909111500 30900 lp0.eu. xwS3PLSlxh500pDYh/t6fnLzxQAra6n3nhzk4fVqLzwmneBIfcx4F/vO44wRzXSprz1UbMkVUcruTbQYlLFBEg== ;{id = 30900}
78 SECTION AUTHORITY
79 lp0.eu. IN NS proxima.lp0.eu.
80 lp0.eu. 3600 IN RRSIG NS 5 2 3600 20101013111500 20100909111500 30900 lp0.eu. KM7Zfwc1b0Ay8Ezer0ZAERPbmgGzKIrTfZMxzXzSkVx5DWirTtdgPTNVG/y9fkN4tUARNhElN2eb0ufb04Hdgw== ;{id = 30900}
81 ENTRY_END
82
83 SCENARIO_END