8ba25b126a
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4264 be551aaa-1e26-0410-a405-d3ace91eadb9
74 lines
2.2 KiB
Plaintext
74 lines
2.2 KiB
Plaintext
; nameserver test file
|
|
$ORIGIN example.com.
|
|
$TTL 3600
|
|
|
|
; DNSKEY lookup works.
|
|
ENTRY_BEGIN
|
|
MATCH opcode qtype qname UDP DO
|
|
REPLY QR AA NOERROR
|
|
ADJUST copy_id
|
|
SECTION QUESTION
|
|
example.com. IN DNSKEY
|
|
SECTION ANSWER
|
|
example.com. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
|
|
example.com. 3600 IN RRSIG DNSKEY 5 2 3600 20100429005004 20100401005004 30899 example.com. CcIIAhvwMsSnPzJdT1onlMK8jgQnKzYoklOsm8ab644jhQfWo/BIXyJ1l9ImK4J2+quIHdrXESTMHJ5KNRs2Sw== ;{id = 30899}
|
|
ENTRY_END
|
|
|
|
ENTRY_BEGIN
|
|
MATCH opcode qtype qname UDP
|
|
REPLY QR AA NOERROR
|
|
ADJUST copy_id
|
|
SECTION QUESTION
|
|
example.com. IN DNSKEY
|
|
SECTION ANSWER
|
|
example.com. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
|
|
;example.com. 3600 IN RRSIG DNSKEY 5 2 3600 20100429005004 20100401005004 30899 example.com. CcIIAhvwMsSnPzJdT1onlMK8jgQnKzYoklOsm8ab644jhQfWo/BIXyJ1l9ImK4J2+quIHdrXESTMHJ5KNRs2Sw== ;{id = 30899}
|
|
ENTRY_END
|
|
|
|
; the first part has nasty having a 'timeout'.
|
|
ENTRY_BEGIN
|
|
MATCH opcode qtype qname UDP DO
|
|
REPLY QR FORMERR
|
|
ADJUST copy_id
|
|
SECTION QUESTION
|
|
nasty IN A
|
|
ENTRY_END
|
|
|
|
; the next part has nasty recover (with timing to be exactly during noEDNS).
|
|
; therefore we return the signature to make our test run fast.
|
|
ENTRY_BEGIN
|
|
MATCH opcode qtype qname UDP
|
|
REPLY QR AA NOERROR
|
|
ADJUST copy_id
|
|
SECTION QUESTION
|
|
nasty IN A
|
|
SECTION ANSWER
|
|
nasty IN A 10.20.30.77
|
|
nasty.example.com. 3600 IN RRSIG A 5 3 3600 20100429005004 20100401005004 30899 example.com. nV1rzF6ow8sp5k315hczuO1xRQT5MrS14BEZ0Md71/EoCfVtjD+WK63w2MnPzqLIw3YRyfC1S/bMc3B7cVZv5A== ;{id = 30899}
|
|
ENTRY_END
|
|
|
|
ENTRY_BEGIN
|
|
MATCH opcode qtype qname UDP DO
|
|
REPLY QR AA NOERROR
|
|
ADJUST copy_id
|
|
SECTION QUESTION
|
|
www IN A
|
|
SECTION ANSWER
|
|
www IN A 10.20.30.40
|
|
www IN A 10.20.30.41
|
|
www IN A 10.20.30.42
|
|
www.example.com. 3600 IN RRSIG A 5 3 3600 20100429005004 20100401005004 30899 example.com. gM9dI2Ew/zsRMD8ZrqetGo4xYts51quV4/CaOemUPAx8LOvGNJMGrHpJ1Q+CW7CWTauqNscFLlgUcmUQ2+RIlA== ;{id = 30899}
|
|
ENTRY_END
|
|
|
|
; fake answer so we can distinguish it
|
|
ENTRY_BEGIN
|
|
MATCH opcode qtype qname UDP
|
|
REPLY QR AA NOERROR
|
|
ADJUST copy_id
|
|
SECTION QUESTION
|
|
www IN A
|
|
SECTION ANSWER
|
|
www IN A 10.20.30.40
|
|
ENTRY_END
|
|
|