xref: /netbsd-src/external/bsd/unbound/dist/testdata/test_signatures.8 (revision 3b6c3722d8f990f9a667d638078aee8ccdc3c0f3)
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
9ENTRY_BEGIN
10SECTION QUESTION
11sub.example.com.	IN DNSKEY
12SECTION ANSWER
13sub.example.com.    3600    IN      DNSKEY  256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
14ENTRY_END
15
16; entry to test -- capitals in signer name.
17ENTRY_BEGIN
18SECTION QUESTION
19www.sub.example.com.    IN      A
20SECTION ANSWER
21www.sub.example.com.    3600    IN      A       11.11.11.11
22www.sub.example.com.    3600    IN      RRSIG   A 5 4 3600 20070926134150 20070829134150 30899 sUb.eXamPle.com. 0DqqRfRtm7VSEQ4mmBbzrKRqQAay3JAE8DPDGmjtokrrjN9F1G/HxozDV7bjdIh2EChlQea8FPwf/GepJMUVxg== ;{id = 30899}
23ENTRY_END
24
25; entry to test
26ENTRY_BEGIN
27SECTION QUESTION
28www.sub.example.com.    IN      A
29SECTION ANSWER
30www.sub.example.com.    3600    IN      A       11.11.11.11
31www.sub.example.com.    3600    IN      RRSIG   A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. 0DqqRfRtm7VSEQ4mmBbzrKRqQAay3JAE8DPDGmjtokrrjN9F1G/HxozDV7bjdIh2EChlQea8FPwf/GepJMUVxg== ;{id = 30899}
32ENTRY_END
33
34; another entry. Signed with ldns.
35ENTRY_BEGIN
36SECTION QUESTION
37www.sub.example.com.    IN      A
38SECTION ANSWER
39www.sub.example.com.    3600    IN      A       11.11.11.11
40www.sub.example.com.    3600    IN      A       22.22.22.22
41www.sub.example.com.	3600	IN	RRSIG	A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. A1rCcVWeTZ5u0Fr1IewSOhpZvpSd8jMBsy4zk12LzZbjFK2yINSpClGYoyRvJMySfbNHjFKfufR/YpdsrsjC8A== ;{id = 30899}
42ENTRY_END
43
44; another entry. Signed with ldns. 10800 ttl
45ENTRY_BEGIN
46SECTION QUESTION
47www.sub.example.com.    IN      A
48SECTION ANSWER
49www.sub.example.com.    10800    IN      A       11.11.11.11
50www.sub.example.com.    10800    IN      A       22.22.22.22
51www.sub.example.com.	10800	IN	RRSIG	A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
52ENTRY_END
53
54; another entry. Signed with ldns. 10800 ttl original, now modified TTLs
55ENTRY_BEGIN
56SECTION QUESTION
57www.sub.example.com.    IN      A
58SECTION ANSWER
59www.sub.example.com.    3600    IN      A       11.11.11.11
60www.sub.example.com.    10800    IN      A       22.22.22.22
61www.sub.example.com.	10800	IN	RRSIG	A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
62ENTRY_END
63
64; another entry. Signed with ldns. 10800 ttl original, now modified TTLs
65ENTRY_BEGIN
66SECTION QUESTION
67www.sub.example.com.    IN      A
68SECTION ANSWER
69www.sub.example.com.    10800    IN      A       11.11.11.11
70www.sub.example.com.    3600    IN      A       22.22.22.22
71www.sub.example.com.	10800	IN	RRSIG	A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
72ENTRY_END
73
74; another entry. Signed with ldns. 10800 ttl original, now modified TTLs
75ENTRY_BEGIN
76SECTION QUESTION
77www.sub.example.com.    IN      A
78SECTION ANSWER
79www.sub.example.com.    1234    IN      A       11.11.11.11
80www.sub.example.com.    3600    IN      A       22.22.22.22
81www.sub.example.com.	10800	IN	RRSIG	A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
82ENTRY_END
83
84