]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/testdata/val_nsec3_b1_nameerror_nonc.rpl
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / val_nsec3_b1_nameerror_nonc.rpl
1 ; config options
2 server:
3 trust-anchor: "example. DNSKEY 257 3 7 AwEAAcUlFV1vhmqx6NSOUOq2R/dsR7Xm 3upJ ( 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.1 name error without nc NSEC3.
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 subdomain
31 ADJUST copy_id copy_query
32 REPLY QR NOERROR
33 SECTION QUESTION
34 example. 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 ns1.example. IN A
55 SECTION ANSWER
56 ENTRY_END
57
58 ENTRY_BEGIN
59 MATCH opcode qtype qname
60 ADJUST copy_id copy_query
61 REPLY QR REFUSED
62 SECTION QUESTION
63 ns1.example. IN AAAA
64 SECTION ANSWER
65 ENTRY_END
66
67 ENTRY_BEGIN
68 MATCH opcode qtype qname
69 ADJUST copy_id copy_query
70 REPLY QR REFUSED
71 SECTION QUESTION
72 example. IN NS
73 SECTION ANSWER
74 ENTRY_END
75
76 ; response to DNSKEY priming query
77
78 ENTRY_BEGIN
79 MATCH opcode qtype qname
80 ADJUST copy_id
81 REPLY QR NOERROR
82 SECTION QUESTION
83 example. IN DNSKEY
84 SECTION ANSWER
85 example. DNSKEY 256 3 7 AwEAAaetidLzsKWUt4swWR8yu0wPHPiUi8LU ( sAD0QPWU+wzt89ep O6tHzkMBVDkC7qphQO2h TY4hHn9npWFRw5BYubE= )
86 example. DNSKEY 257 3 7 AwEAAcUlFV1vhmqx6NSOUOq2R/dsR7Xm3upJ ( j7IommWSpJABVfW8 Q0rOvXdM6kzt+TAu92L9 AbsUdblMFin8CVF3n4s= )
87 example. RRSIG DNSKEY 7 1 3600 20150420235959 ( 20051021000000 12708 example. AuU4juU9RaxescSmStrQks3Gh9FblGBlVU31 uzMZ/U/FpsUb8aC6QZS+sTsJXnLnz7flGOsm MGQZf 3bH+QsCtg== )
88
89 ENTRY_END
90
91 ENTRY_BEGIN
92 MATCH opcode qtype qname
93 ADJUST copy_id
94 REPLY QR AA DO NXDOMAIN
95 SECTION QUESTION
96 a.c.x.w.example. IN A
97 SECTION AUTHORITY
98 example. SOA ns1.example. bugs.x.w.example. 1 3600 300 ( 3600000 3600 )
99 example. RRSIG SOA 7 1 3600 20150420235959 20051021000000 ( 40430 example. Hu25UIyNPmvPIVBrldN+9Mlp9Zql39qaUd8i q4ZLlYWfUUbbAS41pG+68z81q1xhkYAcEyHd V I2LmKusbZsT0Q== )
100
101 ;; NSEC3 RR that covers the "next closer" name (c.x.w.example)
102 ;; H(c.x.w.example) = 0va5bpr2ou0vk0lbqeeljri88laipsfh
103
104 ;0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd ( 2t7b4g4vsa5smi 47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
105 ;0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. OSgWSm26B+cS+dDL8b5QrWr/dEWhtCsKlwKL IBHYH6blRx K9rC0bMJPwQ4mLIuw85H2EY762 BOCXJZMnpuwhpA== )
106
107 ;; NSEC3 RR that matches the closest encloser (x.w.example)
108 ;; H(x.w.example) = b4um86eghhds6nea196smvmlo4ors995
109
110 b4um86eghhds6nea196smvmlo4ors995.example. NSEC3 1 1 12 aabbccdd ( gjeqe526plbf1g8mklp59enfd789njgi MX RRSIG )
111 b4um86eghhds6nea196smvmlo4ors995.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. ZkPG3M32lmoHM6pa3D6gZFGB/rhL//Bs3Omh 5u4m/CUi wtblEVOaAKKZd7S959OeiX43aLX3 pOv0TSTyiTxIZg== )
112
113 ;; NSEC3 RR that covers wildcard at the closest encloser (*.x.w.example)
114 ;; H(*.x.w.example) = 92pqneegtaue7pjatc3l3qnk738c6v5m
115
116 35mthgpgcu1qg68fab165klnsnk3dpvl.example. NSEC3 1 1 12 aabbccdd ( b4um86eghhds6nea196smvmlo4ors995 NS DS RRSIG )
117 35mthgpgcu1qg68fab165klnsnk3dpvl.example. RRSIG NSEC3 7 2 3600 20150420235959 20051021000000 ( 40430 example. g6jPUUpduAJKRljUsN8gB4UagAX0NxY9shwQ Aynzo8EUWH +z6hEIBlUTPGj15eZll6VhQqgZ XtAIR3chwgW+SA== )
118
119 SECTION ADDITIONAL
120 ENTRY_END
121
122 RANGE_END
123
124 STEP 1 QUERY
125 ENTRY_BEGIN
126 REPLY RD
127 SECTION QUESTION
128 a.c.x.w.example. IN A
129 ENTRY_END
130
131 ; recursion happens here.
132 STEP 10 CHECK_ANSWER
133 ENTRY_BEGIN
134 MATCH all
135 REPLY QR RD RA SERVFAIL
136 SECTION QUESTION
137 a.c.x.w.example. IN A
138 SECTION ANSWER
139 SECTION AUTHORITY
140 SECTION ADDITIONAL
141 ENTRY_END
142
143 SCENARIO_END