mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-21 06:02:55 -05:00
and check ttls of CNAME and DNAME in cache response in unit test.
git-svn-id: file:///svn/unbound/trunk@3437 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
c29276ba71
commit
fe485c7240
1 changed files with 11 additions and 8 deletions
19
testdata/val_dnametopos.rpl
vendored
19
testdata/val_dnametopos.rpl
vendored
|
|
@ -232,25 +232,28 @@ SECTION ADDITIONAL
|
|||
ENTRY_END
|
||||
|
||||
; Check cache response for DNAME
|
||||
STEP 20 QUERY
|
||||
; so 100+ the authority will not respond any more : must be from cache.
|
||||
STEP 110 TIME_PASSES ELAPSE 10
|
||||
|
||||
STEP 120 QUERY
|
||||
ENTRY_BEGIN
|
||||
REPLY RD DO
|
||||
SECTION QUESTION
|
||||
www.example.com. IN A
|
||||
ENTRY_END
|
||||
|
||||
STEP 30 CHECK_ANSWER
|
||||
STEP 130 CHECK_ANSWER
|
||||
ENTRY_BEGIN
|
||||
MATCH all
|
||||
MATCH all ttl
|
||||
REPLY QR RD RA AD DO NOERROR
|
||||
SECTION QUESTION
|
||||
www.example.com. IN A
|
||||
SECTION ANSWER
|
||||
example.com. 3600 IN DNAME example.net.
|
||||
example.com. 3600 IN RRSIG DNAME 3 2 3600 20070926134150 20070829134150 2854 example.com. MCwCFH1xw24Hswia3g10AVL1yFUHUPdFAhQDrA+qZJwqXRPg2C1oiNPk9fosGg== ;{id = 2854}
|
||||
www.example.com. 0 IN CNAME www.example.net.
|
||||
www.example.net. 3600 IN A 11.12.13.14
|
||||
www.example.net. 3600 IN RRSIG A 5 3 3600 20070926134150 20070829134150 30899 example.net. CPxF5hK9Kg5eT7W6LgZwr0ePYEm9HMcSY4vvqCS6gDWB4X9jvXLCfBkCLhsNybPBpGWlsLi5wM6MTdJXuPpsRA== ;{id = 30899}
|
||||
example.com. 3590 IN DNAME example.net.
|
||||
example.com. 3590 IN RRSIG DNAME 3 2 3600 20070926134150 20070829134150 2854 example.com. MCwCFH1xw24Hswia3g10AVL1yFUHUPdFAhQDrA+qZJwqXRPg2C1oiNPk9fosGg== ;{id = 2854}
|
||||
www.example.com. 3590 IN CNAME www.example.net.
|
||||
www.example.net. 3590 IN A 11.12.13.14
|
||||
www.example.net. 3590 IN RRSIG A 5 3 3600 20070926134150 20070829134150 30899 example.net. CPxF5hK9Kg5eT7W6LgZwr0ePYEm9HMcSY4vvqCS6gDWB4X9jvXLCfBkCLhsNybPBpGWlsLi5wM6MTdJXuPpsRA== ;{id = 30899}
|
||||
SECTION AUTHORITY
|
||||
SECTION ADDITIONAL
|
||||
ENTRY_END
|
||||
|
|
|
|||
Loading…
Reference in a new issue