Commit 1df45b3e authored by Petr Špaček's avatar Petr Špaček

resolver: fix nsec_wildcard_answer_response to actually test something

The test was completely reworked. The old one had many problems:
- MATCH specification was totally ignoring the response so the test did
  effectivelly nothing.
- Fixing MATCH clauses uncovered that delegations were incorrect.
- Queries for localhost addresses had to be allowed for the test to work.

The new test is using only one DNS zone (the root) but tests more cases:
- valid positive wildcard answer for non-existing owner name
- invalid answer where wildcard data + RRSIG were transplanted to
  different owner name
- valid positive answer for explicit owner name (masking the wildcard)
- invalid answer where wildcard data are used to mask explicit data
parent 6b0c5dda
; This is a key-signing key, keyid 41524, for .
; Created: 20170319134901 (Sun Mar 19 14:49:01 2017)
; Publish: 20170319134901 (Sun Mar 19 14:49:01 2017)
; Activate: 20170319134901 (Sun Mar 19 14:49:01 2017)
. IN DNSKEY 257 3 8 AwEAAbgyvYQ2Vlff/inpv4NZLlIk2+l1sL0JoeOUlWHZ3eeWXZKxQJak QIXyGi8xsuANzu/YStLp31SfU/Fj4piUciqA+U74Lot1S/jcM7/1eczh 69YqGUAPZkreZ3z2DpWzBN4lgPR/w0OvTada3D42uV2bzuSK/nXMiMpZ vP1vZ1ykNRmbksTzA+HnrefRi2yuMSUqMHbtfbfFwqVTQ1ddVwSK7qIJ 02jo95YJUSZDPUUQlczIsFsa7Zxn6gQZl+iaRuDY6nLxxStYYlcqZhVA G5U8Dx4IznQ0FkEJp9RXtv5rmtClcQpudCl1gE0GC/W+TTUAa3hD597f onH+s/OfdCE=
Private-key-format: v1.3
Algorithm: 8 (RSASHA256)
Modulus: uDK9hDZWV9/+Kem/g1kuUiTb6XWwvQmh45SVYdnd55ZdkrFAlqRAhfIaLzGy4A3O79hK0unfVJ9T8WPimJRyKoD5Tvgui3VL+Nwzv/V5zOHr1ioZQA9mSt5nfPYOlbME3iWA9H/DQ69Np1rcPja5XZvO5Ir+dcyIylm8/W9nXKQ1GZuSxPMD4eet59GLbK4xJSowdu19t8XCpVNDV11XBIruognTaOj3lglRJkM9RRCVzMiwWxrt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1WRhk9jXbyImVbJOpWI0Q4U3NIYYm9sP8FP4qfcXpE8sCafgAToWJMUP75w/dAVWkL2u1k7zxBEqvadmVbGrAzsjTk9M=
Coefficient: ms+SW3tNI975ejCbI1vIB31uUqVfvVvxv7eWtzJEdyxBVQKb0aQnXaTMdXiESNc+H5HMau3lbDOw5IcQkp79fKdxLt3SjMYPdnQmBWg7StY3fV1FJcPEEJeFQjWXxioY8rdvMUTMk1FfjxlllBkCyMWuIE4cbRTNdcq76ozM60g=
Created: 20170319134901
Publish: 20170319134901
Activate: 20170319134901
*.nsec.example. 3600 IN A 10.6.6.6
explicita.nsec.example. 3600 IN A 203.0.113.1
explicita2.nsec.example. 3600 IN A 203.0.113.2
. 3600 IN SOA . . 0 0 0 0 0
. 3600 IN NS ns.
ns. 3600 IN A 192.0.2.1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment