Skip to content

Test loading of a signed zone with a CNAME at the apex. (resolves #427)#558

Open
ximon18 wants to merge 4 commits into
mainfrom
load-signed-apex-cname
Open

Test loading of a signed zone with a CNAME at the apex. (resolves #427)#558
ximon18 wants to merge 4 commits into
mainfrom
load-signed-apex-cname

Conversation

@ximon18
Copy link
Copy Markdown
Member

@ximon18 ximon18 commented Mar 30, 2026

The old zone loader / apex zone code couldn't handle this case as it was not able to store a CNAME plus another record at the apex as it was not designed for DNSSEC which adds an RRSIG at the same label as the apex CNAME.

This PR loads and re-signs a pre-signed zone that contains a CNAME and RRSIG immediately below the apex


  • If you are changing Rust code or integration tests (Cargo.*, crates/, etc/, integration-tests/, src/):
    • Did you run the integration tests with act through the act-wrapper (as described in TESTING.md)?

ximon18 added 2 commits March 30, 2026 13:29
The old zone loader / apex zone code couldn't handle this.
By using a pre-signed zone as input.
@@ -0,0 +1,14 @@
example.test. 5 IN SOA ns1.example.test. mail.example.test. 2026033000 60 60 3600 5
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wonder if we should have a setup for these tests where the input zone and the output zone are the same. It needs storing some keys somewhere, a policy with Keep, and faketime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants