]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/testdata/test_nsec3_hash.1
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / test_nsec3_hash.1
1 ;
2 ; NSEC3 hash algo test file.
3 ; The hash cache is maintained for the duration of the file.
4 ; Every entry is a hash test.
5 ; query name is hashed.
6 ; answer AAAA record hash the correct hashed answer name.
7 ; auth NSEC3 record has the hash parameters.
8 ;
9
10
11 ; These are from the nsec3-draft-11 example zone.
12 ; H(example) = 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom
13 ENTRY_BEGIN
14 SECTION QUESTION
15 example. IN AAAA
16 SECTION ANSWER
17 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. AAAA ::1
18 SECTION AUTHORITY
19 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
20 ENTRY_END
21
22 ; H(a.example) = 35mthgpgcu1qg68fab165klnsnk3dpvl
23 ENTRY_BEGIN
24 SECTION QUESTION
25 a.example. IN AAAA
26 SECTION ANSWER
27 35mthgpgcu1qg68fab165klnsnk3dpvl.example. AAAA ::1
28 SECTION AUTHORITY
29 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
30 ENTRY_END
31
32 ; H(ai.example) = gjeqe526plbf1g8mklp59enfd789njgi
33 ENTRY_BEGIN
34 SECTION QUESTION
35 ai.example. IN AAAA
36 SECTION ANSWER
37 gjeqe526plbf1g8mklp59enfd789njgi.example. AAAA ::1
38 SECTION AUTHORITY
39 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
40 ENTRY_END
41
42 ; H(ns1.example) = 2t7b4g4vsa5smi47k61mv5bv1a22bojr
43 ENTRY_BEGIN
44 SECTION QUESTION
45 ns1.example. IN AAAA
46 SECTION ANSWER
47 2t7b4g4vsa5smi47k61mv5bv1a22bojr.example. AAAA ::1
48 SECTION AUTHORITY
49 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
50 ENTRY_END
51
52 ; H(ns2.example) = q04jkcevqvmu85r014c7dkba38o0ji5r
53 ENTRY_BEGIN
54 SECTION QUESTION
55 ns2.example. IN AAAA
56 SECTION ANSWER
57 q04jkcevqvmu85r014c7dkba38o0ji5r.example. AAAA ::1
58 SECTION AUTHORITY
59 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
60 ENTRY_END
61
62 ; H(w.example) = k8udemvp1j2f7eg6jebps17vp3n8i58h
63 ENTRY_BEGIN
64 SECTION QUESTION
65 w.example. IN AAAA
66 SECTION ANSWER
67 k8udemvp1j2f7eg6jebps17vp3n8i58h.example. AAAA ::1
68 SECTION AUTHORITY
69 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
70 ENTRY_END
71
72 ; H(*.w.example) = r53bq7cc2uvmubfu5ocmm6pers9tk9en
73 ENTRY_BEGIN
74 SECTION QUESTION
75 *.w.example. IN AAAA
76 SECTION ANSWER
77 r53bq7cc2uvmubfu5ocmm6pers9tk9en.example. AAAA ::1
78 SECTION AUTHORITY
79 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
80 ENTRY_END
81
82 ; H(x.w.example) = b4um86eghhds6nea196smvmlo4ors995
83 ENTRY_BEGIN
84 SECTION QUESTION
85 x.w.example. IN AAAA
86 SECTION ANSWER
87 b4um86eghhds6nea196smvmlo4ors995.example. AAAA ::1
88 SECTION AUTHORITY
89 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
90 ENTRY_END
91
92 ; H(y.w.example) = ji6neoaepv8b5o6k4ev33abha8ht9fgc
93 ENTRY_BEGIN
94 SECTION QUESTION
95 y.w.example. IN AAAA
96 SECTION ANSWER
97 ji6neoaepv8b5o6k4ev33abha8ht9fgc.example. AAAA ::1
98 SECTION AUTHORITY
99 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
100 ENTRY_END
101
102 ; H(x.y.w.example) = 2vptu5timamqttgl4luu9kg21e0aor3s
103 ENTRY_BEGIN
104 SECTION QUESTION
105 x.y.w.example. IN AAAA
106 SECTION ANSWER
107 2vptu5timamqttgl4luu9kg21e0aor3s.example. AAAA ::1
108 SECTION AUTHORITY
109 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
110 ENTRY_END
111
112 ; H(xx.example) = t644ebqk9bibcna874givr6joj62mlhv
113 ; capitalization changed.
114 ENTRY_BEGIN
115 SECTION QUESTION
116 xX.example. IN AAAA
117 SECTION ANSWER
118 t644ebqk9bibcna874givr6joj62mlhv.example. AAAA ::1
119 SECTION AUTHORITY
120 b4um86eghhds6nea196smvmlo4ors995.example. NSEC3 1 1 12 aabbccdd (gjeqe526plbf1g8mklp59enfd789njgi MX RRSIG )
121 ENTRY_END
122
123 ; H(2t7b4g4vsa5smi47k61mv5bv1a22bojr.example)
124 ; = kohar7mbb8dc2ce8a9qvl8hon4k53uhi
125 ENTRY_BEGIN
126 SECTION QUESTION
127 2t7b4g4vsa5smi47k61mv5bv1a22bojr.example. IN AAAA
128 SECTION ANSWER
129 kohar7mbb8dc2ce8a9qvl8hon4k53uhi.example. AAAA ::1
130 SECTION AUTHORITY
131 b4um86eghhds6nea196smvmlo4ors995.example. NSEC3 1 1 12 aabbccdd (gjeqe526plbf1g8mklp59enfd789njgi MX RRSIG )
132 ENTRY_END
133
134
135
136 ; repeat entry to test the cache.
137 ; H(example) = 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom
138 ENTRY_BEGIN
139 SECTION QUESTION
140 example. IN AAAA
141 SECTION ANSWER
142 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. AAAA ::1
143 SECTION AUTHORITY
144 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
145 ENTRY_END
146
147 ; repeat entry to test the cache.
148 ; H(a.example) = 35mthgpgcu1qg68fab165klnsnk3dpvl
149 ENTRY_BEGIN
150 SECTION QUESTION
151 a.example. IN AAAA
152 SECTION ANSWER
153 35mthgpgcu1qg68fab165klnsnk3dpvl.example. AAAA ::1
154 SECTION AUTHORITY
155 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
156 ENTRY_END
157
158 ; repeat entry to test the cache.
159 ; H(ai.example) = gjeqe526plbf1g8mklp59enfd789njgi
160 ENTRY_BEGIN
161 SECTION QUESTION
162 ai.example. IN AAAA
163 SECTION ANSWER
164 gjeqe526plbf1g8mklp59enfd789njgi.example. AAAA ::1
165 SECTION AUTHORITY
166 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
167 ENTRY_END
168
169 ; repeat entry to test the cache.
170 ; capitalization of qname.
171 ; H(ai.example) = gjeqe526plbf1g8mklp59enfd789njgi
172 ENTRY_BEGIN
173 SECTION QUESTION
174 AI.example. IN AAAA
175 SECTION ANSWER
176 gjeqe526plbf1g8mklp59enfd789njgi.example. AAAA ::1
177 SECTION AUTHORITY
178 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
179 ENTRY_END
180