Skip to content

Expand record type support in domain::new#623

Merged
bal-e merged 6 commits intomainfrom
new-types
Apr 21, 2026
Merged

Expand record type support in domain::new#623
bal-e merged 6 commits intomainfrom
new-types

Conversation

@bal-e
Copy link
Copy Markdown
Contributor

@bal-e bal-e commented Mar 20, 2026

This PR resolves various minor limitations of domain::new, as experienced in developing Cascade. In particular, it adds the ZoneMD and Rp record types, with extensive documentation, and adds a number of useful RTYPEs and QTYPEs (even for record types that have not been defined yet).

@bal-e bal-e requested a review from partim March 20, 2026 15:11
@bal-e bal-e self-assigned this Mar 20, 2026
@bal-e bal-e requested a review from mozzieongit March 21, 2026 06:59
Comment thread macros/src/impls.rs
Comment thread src/new/base/question.rs

/// The type of queries for [`Ds`](crate::new::rdata::Ds) records.
pub const DS: Self = Self::new(43);

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.

Do we have a tracking issue of types that are not yet implemented by new base, but are by old base/planned? (I'm thinking of SSHFP for example, which we use in our zone)

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.

We should make one.

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.

I've made #640, which I'll update once this PR is merged.

Comment thread src/new/rdata/zonemd.rs Outdated
Comment thread src/new/rdata/zonemd.rs Outdated
Comment thread src/new/rdata/zonemd.rs
Comment thread src/new/rdata/rp.rs
Comment thread src/new/rdata/rp.rs Outdated
Comment thread src/new/rdata/rp.rs Outdated
Comment thread src/new/rdata/rp.rs
Copy link
Copy Markdown
Contributor

@tertsdiepraam tertsdiepraam left a comment

Choose a reason for hiding this comment

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

Only one question in addition to Jannik's comments.

Comment thread src/new/base/record.rs
@bal-e bal-e merged commit 383046b into main Apr 21, 2026
15 checks passed
@bal-e bal-e deleted the new-types branch April 21, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants