Skip to content

Updates DNSSEC07 test case specification#1425

Merged
matsduf merged 34 commits into
zonemaster:developfrom
matsduf:update-dnssec07-test-case-spec
Nov 13, 2025
Merged

Updates DNSSEC07 test case specification#1425
matsduf merged 34 commits into
zonemaster:developfrom
matsduf:update-dnssec07-test-case-spec

Conversation

@matsduf

@matsduf matsduf commented Sep 12, 2025

Copy link
Copy Markdown
Contributor

Purpose

This PR updates the specification of DNSSEC07 in several ways:

  • It updates the specification to modern standards.
  • It raises absence of DNSSEC signing to WARNING.
  • It raises absence of DS to WARNING if the zone is signed.

Currently in the implementation, DNSSEC07 is run first, and if DNSSEC07 outputs NOT_SIGNED then no other test case in DNSSEC module is run.

After this update, DNSSEC07 should still be run first, and then DNSSEC11. If updated DNSSEC07 outputs DS07_NOT_SIGNED then no other test cases, besides DNSSEC11, in DNSSEC module should be run.

For the future, I think all test cases should be run for every test. For that all DNSSEC test cases should be updated to output a good INFO message for unsigned zones. All other test cases should be updated to always output an INFO message if no other message is outputted. In that way all tests will show the same number of test cases. (Except if the test breaks in Basic because it cannot be run.)

With the update, DNSSEC07 will always output one of the following messages (besides possibly other messages):

  • DS07_NOT_SIGNED
  • DS07_SIGNED
  • DS07_INCONSISTENT_SIGNED

Test scenarios are available by #1432.

How to test this PR

Review.

@matsduf matsduf added A-TestCase Area: Test case specification or implementation of test case A-Documentation Area: Documentation only. RC-Features Release category: Features. labels Sep 12, 2025
Adds text that DNSSEC07 is special and should be run first in the
DNSSEC module. The output of the test case governs if any other DNSSEC
test cases should be run, except DNSSEC11 that should always be run
second in the DNSSEC module.
@matsduf

matsduf commented Oct 8, 2025

Copy link
Copy Markdown
Contributor Author

@peterthomassen, please review this PR. For the test scenarios for the test case, see #1432, and in that see docs/public/specifications/test-zones/DNSSEC-TP/dnssec07.md for the specification of the test scenarios (and test zones).

@tgreenx tgreenx linked an issue Oct 9, 2025 that may be closed by this pull request

@peterthomassen peterthomassen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for working on this!

Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated

@matsduf matsduf left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@peterthomassen, thank you for the review. I have updated the text based on your comments.

Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
@tgreenx tgreenx added this to the v2025.2 milestone Oct 28, 2025
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
@tgreenx

tgreenx commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

Implementation in zonemaster/zonemaster-engine#1476.

matsduf and others added 9 commits October 30, 2025 17:08
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
matsduf and others added 3 commits October 30, 2025 17:43
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
@matsduf matsduf requested a review from tgreenx November 2, 2025 16:08

@marc-vanderwal marc-vanderwal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test procedure looks good to me. I have some comments and suggestions though.

Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md
matsduf and others added 3 commits November 3, 2025 17:14
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
@matsduf matsduf force-pushed the update-dnssec07-test-case-spec branch from be7797b to 1369585 Compare November 3, 2025 19:30

@marc-vanderwal marc-vanderwal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two more little typos, including I didn’t see last time. Sorry!

Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec07.md Outdated
matsduf and others added 5 commits November 4, 2025 11:39
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
marc-vanderwal
marc-vanderwal previously approved these changes Nov 4, 2025
@matsduf

matsduf commented Nov 7, 2025

Copy link
Copy Markdown
Contributor Author

@marc-vanderwal, please re-review.

@matsduf matsduf merged commit a707c37 into zonemaster:develop Nov 13, 2025
@matsduf matsduf deleted the update-dnssec07-test-case-spec branch November 13, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Documentation Area: Documentation only. A-TestCase Area: Test case specification or implementation of test case RC-Features Release category: Features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update DNSSEC07 test case to explicitly check for DNSSEC

4 participants