]>
Commit | Line | Data |
---|---|---|
89c4ed63 A |
1 | ; config options |
2 | server: | |
3 | target-fetch-policy: "0 0 0 0 0" | |
4 | harden-below-nxdomain: yes | |
5 | trust-anchor: ". IN DNSKEY 257 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3" | |
6 | val-override-date: "20070916134226" | |
7 | ||
8 | stub-zone: | |
9 | name: "." | |
10 | stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET. | |
11 | CONFIG_END | |
12 | ||
13 | SCENARIO_BEGIN Test stop cache search on nxdomain | |
14 | ||
15 | ; K.ROOT-SERVERS.NET. | |
16 | RANGE_BEGIN 0 100 | |
17 | ADDRESS 193.0.14.129 | |
18 | ENTRY_BEGIN | |
19 | MATCH opcode qtype qname | |
20 | ADJUST copy_id | |
21 | REPLY QR NOERROR | |
22 | SECTION QUESTION | |
23 | . IN NS | |
24 | SECTION ANSWER | |
25 | . IN NS K.ROOT-SERVERS.NET. | |
26 | SECTION ADDITIONAL | |
27 | K.ROOT-SERVERS.NET. IN A 193.0.14.129 | |
28 | ENTRY_END | |
29 | ||
30 | ENTRY_BEGIN | |
31 | MATCH opcode qtype qname | |
32 | ADJUST copy_id | |
33 | REPLY QR NOERROR | |
34 | SECTION QUESTION | |
35 | . IN DNSKEY | |
36 | SECTION ANSWER | |
37 | . 3600 IN DNSKEY 257 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30900 (ksk), size = 512b} | |
38 | . 3600 IN RRSIG DNSKEY 5 0 3600 20070926134150 20070829134150 30900 . BlVcSh8xSgm7ne+XVCJwNHQKjk5kTJgG4Fa3sOSfp3YUjb2YclmVWyIw7XEHl0/C6CN5gdy18idnM6vT6Hy42A== ;{id = 30900} | |
39 | ENTRY_END | |
40 | ||
41 | ENTRY_BEGIN | |
42 | MATCH opcode qtype qname | |
43 | ADJUST copy_id | |
44 | REPLY QR AA NXDOMAIN | |
45 | SECTION QUESTION | |
46 | example.local. IN A | |
47 | SECTION AUTHORITY | |
48 | . 86400 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2010111601 1800 900 604800 86400 | |
49 | . 86400 IN RRSIG SOA 5 0 86400 20070926134150 20070829134150 30900 . bOYbFZZp7vWWC2oxV+kph+YXjoQj2f6QJktlgmzRI7oReFX9jy/LibTPQi/sW0SGHpLaj3G5p4IfIlBibne4DA== ;{id = 30900} | |
50 | . 86400 IN NSEC ac. NS SOA RRSIG NSEC DNSKEY | |
51 | . 86400 IN RRSIG NSEC 5 0 86400 20070926134150 20070829134150 30900 . U+/m5+FmczzkosEx1aTP7MK/F3PpcKWct8CzM1jhjwNe2RlnW7qFe0IH8SLzD/elvxDTQMpJSMlKOhUUdapB8g== ;{id = 30900} | |
52 | lk. 86400 IN NSEC lr. NS DS RRSIG NSEC | |
53 | lk. 86400 IN RRSIG NSEC 5 1 86400 20070926134150 20070829134150 30900 . j6Pw5Eu9vGHDJcckTSWa8YD1b7FV7c/Z8aVkLfJCH+iPcaa40/LSp784+t2PnAAXL8fgriNL6jF/ve1rti3ANQ== ;{id = 30900} | |
54 | ENTRY_END | |
55 | RANGE_END | |
56 | ||
57 | STEP 1 QUERY | |
58 | ENTRY_BEGIN | |
59 | REPLY RD | |
60 | SECTION QUESTION | |
61 | example.local. IN A | |
62 | ENTRY_END | |
63 | ||
64 | ; recursion happens here. | |
65 | STEP 10 CHECK_ANSWER | |
66 | ENTRY_BEGIN | |
67 | MATCH all | |
68 | REPLY QR RD RA NXDOMAIN | |
69 | SECTION QUESTION | |
70 | example.local. IN A | |
71 | SECTION AUTHORITY | |
72 | . 86400 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2010111601 1800 900 604800 86400 | |
73 | ENTRY_END | |
74 | ||
75 | STEP 20 QUERY | |
76 | ENTRY_BEGIN | |
77 | REPLY RD | |
78 | SECTION QUESTION | |
79 | foo.example.local. IN A | |
80 | ENTRY_END | |
81 | ||
82 | ; this query does not get sent to K-ROOT. | |
83 | STEP 30 CHECK_ANSWER | |
84 | ENTRY_BEGIN | |
85 | MATCH all | |
86 | REPLY QR RD RA NXDOMAIN | |
87 | SECTION QUESTION | |
88 | foo.example.local. IN A | |
89 | SECTION AUTHORITY | |
90 | . 86400 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2010111601 1800 900 604800 86400 | |
91 | ENTRY_END | |
92 | ||
93 | SCENARIO_END |