]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Test TTLs and signatures.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 18 Sep 2009 11:23:50 +0000 (11:23 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 18 Sep 2009 11:23:50 +0000 (11:23 +0000)
git-svn-id: file:///svn/unbound/trunk@1843 be551aaa-1e26-0410-a405-d3ace91eadb9

testdata/test_signatures.8

index 4afd5ebd230b35b3069ff669c2253b717b3169d4..7b9a8eebedd5009cb11d508dfbe96573f86a7eda 100644 (file)
@@ -22,3 +22,53 @@ www.sub.example.com.    3600    IN      A       11.11.11.11
 www.sub.example.com.    3600    IN      RRSIG   A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. 0DqqRfRtm7VSEQ4mmBbzrKRqQAay3JAE8DPDGmjtokrrjN9F1G/HxozDV7bjdIh2EChlQea8FPwf/GepJMUVxg== ;{id = 30899}
 ENTRY_END
 
+; another entry. Signed with ldns.
+ENTRY_BEGIN
+SECTION QUESTION
+www.sub.example.com.    IN      A 
+SECTION ANSWER
+www.sub.example.com.    3600    IN      A       11.11.11.11
+www.sub.example.com.    3600    IN      A       22.22.22.22
+www.sub.example.com.   3600    IN      RRSIG   A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. A1rCcVWeTZ5u0Fr1IewSOhpZvpSd8jMBsy4zk12LzZbjFK2yINSpClGYoyRvJMySfbNHjFKfufR/YpdsrsjC8A== ;{id = 30899}
+ENTRY_END
+
+; another entry. Signed with ldns. 10800 ttl
+ENTRY_BEGIN
+SECTION QUESTION
+www.sub.example.com.    IN      A 
+SECTION ANSWER
+www.sub.example.com.    10800    IN      A       11.11.11.11
+www.sub.example.com.    10800    IN      A       22.22.22.22
+www.sub.example.com.   10800   IN      RRSIG   A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
+ENTRY_END
+
+; another entry. Signed with ldns. 10800 ttl original, now modified TTLs
+ENTRY_BEGIN
+SECTION QUESTION
+www.sub.example.com.    IN      A 
+SECTION ANSWER
+www.sub.example.com.    3600    IN      A       11.11.11.11
+www.sub.example.com.    10800    IN      A       22.22.22.22
+www.sub.example.com.   10800   IN      RRSIG   A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
+ENTRY_END
+
+; another entry. Signed with ldns. 10800 ttl original, now modified TTLs
+ENTRY_BEGIN
+SECTION QUESTION
+www.sub.example.com.    IN      A 
+SECTION ANSWER
+www.sub.example.com.    10800    IN      A       11.11.11.11
+www.sub.example.com.    3600    IN      A       22.22.22.22
+www.sub.example.com.   10800   IN      RRSIG   A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
+ENTRY_END
+
+; another entry. Signed with ldns. 10800 ttl original, now modified TTLs
+ENTRY_BEGIN
+SECTION QUESTION
+www.sub.example.com.    IN      A 
+SECTION ANSWER
+www.sub.example.com.    1234    IN      A       11.11.11.11
+www.sub.example.com.    3600    IN      A       22.22.22.22
+www.sub.example.com.   10800   IN      RRSIG   A 5 4 10800 20070926134150 20070829134150 30899 sub.example.com. gRrsfYr57vipJHXE21RmXp0Y4cwp9rHyTYeqf1ncBgeipYSPFMILRw21wvAKNKEQ418/0toZOw6Nfmc1gXWS/w== ;{id = 30899}
+ENTRY_END
+