Skip to content

Updates the test case specification for DNSSEC01#1412

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

Updates the test case specification for DNSSEC01#1412
matsduf merged 17 commits into
zonemaster:developfrom
matsduf:update-dnssec01-test-case-spec

Conversation

@matsduf

@matsduf matsduf commented Jul 18, 2025

Copy link
Copy Markdown
Contributor

Purpose

  • Includse explicit msgid.
  • Matches current template.
  • New algorithms from IANA included.
  • Removes check if the installation handles the algorithm. That is already done in DNSSEC02 and can be elaborated there.
  • Always outputs some message for all tested zones.

Test scenarios are created in #1413.

When (if) #1418 is merged this PR is updated accordingly. All ns_ip_list arguments will be replaced by ns_list arguments. That change will not affect the logic.

This PR requires implementation.

How to test this PR

Review.

* Includse explicit msgid.
* Matches current template.
* New algorithms from IANA included.
* Removes check if the installation handles the
  algorithm. That is already done in DNSSEC02 and
  can be elaborated there.
* Always outputs some message for all tested
  zones.
@matsduf matsduf added this to the v2025.2 milestone Jul 18, 2025
@matsduf matsduf added A-TestCase Area: Test case specification or implementation of test case A-Documentation Area: Documentation only. labels Jul 18, 2025
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
@matsduf matsduf requested a review from marc-vanderwal August 10, 2025 14:58
@matsduf matsduf added the RC-Features Release category: Features. label Aug 10, 2025
* Splits a test tag into two to make it less complex.
* Some updates to clarify and make less complex.
…_ip_list", which is a list of name servers by IP address
@matsduf matsduf force-pushed the update-dnssec01-test-case-spec branch from 7164413 to 3b5b2e9 Compare September 3, 2025 11:20
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md
Comment on lines +97 to +110
| Message Tag | Level | Arguments | Message ID for message tag |
|:-------------------------|:--------|:-----------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| DS01_DS_ALGO_2_MISSING | NOTICE | ns_ip_list, keytag | There is a DS record with keytag {keytag}. A DS record using digest algorithm 2 (SHA-256) is missing. Fetched from parent name servers (IP) "{ns_ip_list}". |
| DS01_DS_ALGO_DEPRECATED | ERROR | ns_ip_list, keytag, ds_algo_num, ds_algo_descr | The DS record with keytag {keytag} uses a deprecated digest algorithm {ds_algo_num} ({ds_algo_descr}). Fetched from parent name servers (IP) "{ns_ip_list}". |
| DS01_DS_ALGO_NOT_DS | ERROR | ns_ip_list, keytag, ds_algo_num, ds_algo_descr | The DS record with keytag {keytag} uses a digest algorithm {ds_algo_num} ({ds_algo_descr}) not meant for DS records. Fetched from parent name servers (IP) "{ns_ip_list}". |
| DS01_DS_ALGO_OK | INFO | ns_ip_list, keytag, ds_algo_num, ds_algo_descr | The DS record with keytag {keytag} uses digest algorithm {ds_algo_num} ({ds_algo_descr}), which is OK. Fetch from parent name servers (IP) "{ns_ip_list}". |
| DS01_DS_ALGO_PRIVATE | ERROR | ns_ip_list, keytag, ds_algo_num | The DS record with keytag {keytag} uses a digest algorithm {ds_algo_num} for private use. parent name servers (IP) "{ns_ip_list}". |
| DS01_DS_ALGO_RESERVED | ERROR | ns_ip_list, keytag, ds_algo_num | The DS record with keytag {keytag} uses a reserved digest algorithm {ds_algo_num} on name servers (IP) "{ns_ip_list}". |
| DS01_DS_ALGO_UNASSIGNED | ERROR | ns_ip_list, keytag, ds_algo_num | The DS record with keytag {keytag} uses a unassigned digest algorithm {ds_algo_num} on parent name servers (IP) "{ns_ip_list}". |
| DS01_NO_RESPONSE | WARNING | ns_ip_list | No response or error in response from all parent name servers on the DS query. Name servers are "{ns_ip_list}". |
| DS01_PARENT_SERVER_NO_DS | ERROR | ns_ip_list | The following name servers do not provide DS record or have not been properly configured. Fetched from parent name servers (IP) "{ns_ip_list}". |
| DS01_PARENT_ZONE_NO_DS | NOTICE | ns_ip_list | The parent zone provides no DS records for the child zone. Fetched from parent name servers (IP) "{ns_ip_list}". |
| DS01_ROOT_N_NO_UNDEL_DS | INFO | | Tested zone is the root zone, but no undelegated DS has been provided. DS is not tested. |
| DS01_UNDEL_N_NO_UNDEL_DS | INFO | | Tested zone is undelegated, but no undelegated DS has been provided. DS is not tested. |

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.

I suggest that every "(IP)" string are removed from message ids in this table. It's a change that doesn't add anything, imho.

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.

When #1418 has been merged we can change from ns_ip_list to ns_list.

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.

Removed "(IP)".

matsduf and others added 7 commits October 22, 2025 23:50
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 matsduf requested a review from tgreenx October 23, 2025 05:55
@matsduf

matsduf commented Oct 27, 2025

Copy link
Copy Markdown
Contributor Author

e063bdd updates from IP address to name and IP address of the name servers (based on the merging of #1418).

Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
@tgreenx

tgreenx commented Oct 28, 2025

Copy link
Copy Markdown
Contributor

Implementation in zonemaster/zonemaster-engine#1474.

@matsduf matsduf requested a review from tgreenx October 29, 2025 08:14
Comment thread docs/public/specifications/tests/DNSSEC-TP/dnssec01.md Outdated
@matsduf matsduf merged commit 9466ea9 into zonemaster:develop Nov 13, 2025
@matsduf matsduf deleted the update-dnssec01-test-case-spec branch November 13, 2025 16:25
@tgreenx tgreenx linked an issue Feb 25, 2026 that may be closed by this pull request
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.

New algorithms for DS and DNSKEY

3 participants