]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - testdata/test_signatures.8
Apply upstream fix 08968baec1122a58bb90d8f97ad948a75f8a5d69:
[FreeBSD/FreeBSD.git] / testdata / test_signatures.8
1 ; Signature test file
2
3 ; first entry is a DNSKEY answer, with the DNSKEY rrset used for verification. 
4 ; later entries are verified with it.
5
6 ; RSA Key from ldns tool, key used in the testbound tests.
7
8 ; RSA key from ldns tool
9 ENTRY_BEGIN
10 SECTION QUESTION
11 sub.example.com.        IN DNSKEY
12 SECTION ANSWER
13 sub.example.com.    3600    IN      DNSKEY  256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
14 ENTRY_END
15
16 ; entry to test -- capitals in signer name.
17 ENTRY_BEGIN
18 SECTION QUESTION
19 www.sub.example.com.    IN      A 
20 SECTION ANSWER
21 www.sub.example.com.    3600    IN      A       11.11.11.11
22 www.sub.example.com.    3600    IN      RRSIG   A 5 4 3600 20070926134150 20070829134150 30899 sUb.eXamPle.com. 0DqqRfRtm7VSEQ4mmBbzrKRqQAay3JAE8DPDGmjtokrrjN9F1G/HxozDV7bjdIh2EChlQea8FPwf/GepJMUVxg== ;{id = 30899}
23 ENTRY_END
24
25 ; entry to test
26 ENTRY_BEGIN
27 SECTION QUESTION
28 www.sub.example.com.    IN      A 
29 SECTION ANSWER
30 www.sub.example.com.    3600    IN      A       11.11.11.11
31 www.sub.example.com.    3600    IN      RRSIG   A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. 0DqqRfRtm7VSEQ4mmBbzrKRqQAay3JAE8DPDGmjtokrrjN9F1G/HxozDV7bjdIh2EChlQea8FPwf/GepJMUVxg== ;{id = 30899}
32 ENTRY_END
33
34 ; another entry. Signed with ldns.
35 ENTRY_BEGIN
36 SECTION QUESTION
37 www.sub.example.com.    IN      A 
38 SECTION ANSWER
39 www.sub.example.com.    3600    IN      A       11.11.11.11
40 www.sub.example.com.    3600    IN      A       22.22.22.22
41 www.sub.example.com.    3600    IN      RRSIG   A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. A1rCcVWeTZ5u0Fr1IewSOhpZvpSd8jMBsy4zk12LzZbjFK2yINSpClGYoyRvJMySfbNHjFKfufR/YpdsrsjC8A== ;{id = 30899}
42 ENTRY_END
43
44 ; another entry. Signed with ldns. 10800 ttl
45 ENTRY_BEGIN
46 SECTION QUESTION
47 www.sub.example.com.    IN      A 
48 SECTION ANSWER
49 www.sub.example.com.    10800    IN      A       11.11.11.11
50 www.sub.example.com.    10800    IN      A       22.22.22.22
51 www.sub.example.com.    10800   IN      RRSIG   A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
52 ENTRY_END
53
54 ; another entry. Signed with ldns. 10800 ttl original, now modified TTLs
55 ENTRY_BEGIN
56 SECTION QUESTION
57 www.sub.example.com.    IN      A 
58 SECTION ANSWER
59 www.sub.example.com.    3600    IN      A       11.11.11.11
60 www.sub.example.com.    10800    IN      A       22.22.22.22
61 www.sub.example.com.    10800   IN      RRSIG   A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
62 ENTRY_END
63
64 ; another entry. Signed with ldns. 10800 ttl original, now modified TTLs
65 ENTRY_BEGIN
66 SECTION QUESTION
67 www.sub.example.com.    IN      A 
68 SECTION ANSWER
69 www.sub.example.com.    10800    IN      A       11.11.11.11
70 www.sub.example.com.    3600    IN      A       22.22.22.22
71 www.sub.example.com.    10800   IN      RRSIG   A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
72 ENTRY_END
73
74 ; another entry. Signed with ldns. 10800 ttl original, now modified TTLs
75 ENTRY_BEGIN
76 SECTION QUESTION
77 www.sub.example.com.    IN      A 
78 SECTION ANSWER
79 www.sub.example.com.    1234    IN      A       11.11.11.11
80 www.sub.example.com.    3600    IN      A       22.22.22.22
81 www.sub.example.com.    10800   IN      RRSIG   A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
82 ENTRY_END
83