summaryrefslogtreecommitdiffstats
path: root/testdata/test_nsec3_hash.1
blob: 7b3813e320d50e84c7d81adb07d2fe504f090051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
;
; NSEC3 hash algo test file.
; The hash cache is maintained for the duration of the file.
; Every entry is a hash test.
;	query name is hashed.
;	answer AAAA record hash the correct hashed answer name.
;	auth NSEC3 record has the hash parameters.
;


; These are from the nsec3-draft-11 example zone.
; H(example)       = 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom
ENTRY_BEGIN
SECTION QUESTION
example. IN AAAA
SECTION ANSWER
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(a.example)     = 35mthgpgcu1qg68fab165klnsnk3dpvl
ENTRY_BEGIN
SECTION QUESTION
a.example.	IN 	AAAA
SECTION ANSWER
35mthgpgcu1qg68fab165klnsnk3dpvl.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(ai.example)    = gjeqe526plbf1g8mklp59enfd789njgi
ENTRY_BEGIN
SECTION QUESTION
ai.example.	IN      AAAA
SECTION ANSWER
gjeqe526plbf1g8mklp59enfd789njgi.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(ns1.example)   = 2t7b4g4vsa5smi47k61mv5bv1a22bojr
ENTRY_BEGIN
SECTION QUESTION
ns1.example.   IN      AAAA
SECTION ANSWER
2t7b4g4vsa5smi47k61mv5bv1a22bojr.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(ns2.example)   = q04jkcevqvmu85r014c7dkba38o0ji5r
ENTRY_BEGIN
SECTION QUESTION
ns2.example.  IN      AAAA
SECTION ANSWER
q04jkcevqvmu85r014c7dkba38o0ji5r.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(w.example)     = k8udemvp1j2f7eg6jebps17vp3n8i58h
ENTRY_BEGIN
SECTION QUESTION
w.example.	IN      AAAA
SECTION ANSWER
k8udemvp1j2f7eg6jebps17vp3n8i58h.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(*.w.example)   = r53bq7cc2uvmubfu5ocmm6pers9tk9en
ENTRY_BEGIN
SECTION QUESTION
*.w.example.	IN      AAAA
SECTION ANSWER
r53bq7cc2uvmubfu5ocmm6pers9tk9en.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(x.w.example)   = b4um86eghhds6nea196smvmlo4ors995
ENTRY_BEGIN
SECTION QUESTION
x.w.example.	IN      AAAA
SECTION ANSWER
b4um86eghhds6nea196smvmlo4ors995.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(y.w.example)   = ji6neoaepv8b5o6k4ev33abha8ht9fgc
ENTRY_BEGIN
SECTION QUESTION
y.w.example.	IN	AAAA
SECTION ANSWER
ji6neoaepv8b5o6k4ev33abha8ht9fgc.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(x.y.w.example) = 2vptu5timamqttgl4luu9kg21e0aor3s
ENTRY_BEGIN
SECTION QUESTION
x.y.w.example.	IN	AAAA
SECTION ANSWER
2vptu5timamqttgl4luu9kg21e0aor3s.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; H(xx.example)    = t644ebqk9bibcna874givr6joj62mlhv
; capitalization changed.
ENTRY_BEGIN
SECTION QUESTION
xX.example.	IN	AAAA
SECTION ANSWER
t644ebqk9bibcna874givr6joj62mlhv.example.	AAAA	::1
SECTION AUTHORITY
b4um86eghhds6nea196smvmlo4ors995.example. NSEC3 1 1 12 aabbccdd (gjeqe526plbf1g8mklp59enfd789njgi MX RRSIG )
ENTRY_END

; H(2t7b4g4vsa5smi47k61mv5bv1a22bojr.example)
;                  = kohar7mbb8dc2ce8a9qvl8hon4k53uhi
ENTRY_BEGIN
SECTION QUESTION
2t7b4g4vsa5smi47k61mv5bv1a22bojr.example.	IN	AAAA
SECTION ANSWER
kohar7mbb8dc2ce8a9qvl8hon4k53uhi.example.	AAAA	::1
SECTION AUTHORITY
b4um86eghhds6nea196smvmlo4ors995.example. NSEC3 1 1 12 aabbccdd (gjeqe526plbf1g8mklp59enfd789njgi MX RRSIG )
ENTRY_END



; repeat entry to test the cache.
; H(example)       = 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom
ENTRY_BEGIN
SECTION QUESTION
example. IN AAAA
SECTION ANSWER
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; repeat entry to test the cache.
; H(a.example)     = 35mthgpgcu1qg68fab165klnsnk3dpvl
ENTRY_BEGIN
SECTION QUESTION
a.example.	IN 	AAAA
SECTION ANSWER
35mthgpgcu1qg68fab165klnsnk3dpvl.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; repeat entry to test the cache.
; H(ai.example)    = gjeqe526plbf1g8mklp59enfd789njgi
ENTRY_BEGIN
SECTION QUESTION
ai.example.	IN      AAAA
SECTION ANSWER
gjeqe526plbf1g8mklp59enfd789njgi.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

; repeat entry to test the cache.
; capitalization of qname.
; H(ai.example)    = gjeqe526plbf1g8mklp59enfd789njgi
ENTRY_BEGIN
SECTION QUESTION
AI.example.	IN      AAAA
SECTION ANSWER
gjeqe526plbf1g8mklp59enfd789njgi.example. AAAA ::1
SECTION AUTHORITY
0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. NSEC3 1 1 12 aabbccdd (2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG )
ENTRY_END

OpenPOWER on IntegriCloud