Skip to content

Have sensible default for DNSSEC parameters and document what is miss…#71

Merged
Philip-NLnetLabs merged 6 commits intomainfrom
policy-defaults
Sep 19, 2025
Merged

Have sensible default for DNSSEC parameters and document what is miss…#71
Philip-NLnetLabs merged 6 commits intomainfrom
policy-defaults

Conversation

@Philip-NLnetLabs
Copy link
Copy Markdown
Member

…ing.

Comment thread src/policy/file/v1.rs Outdated
Comment thread src/policy/file/v1.rs Outdated
// signing the zone.
dnskey_inception_offset: 24 * 3600,
dnskey_signature_lifetime: 14 * 24 * 3600,
dnskey_remain_time: 14 * 24 * 3600 / 2,
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.

Is this trying to say half of dnskey_signature_lifetime? That might be better expressed through a couple of related constants that can't accidentally diverge from one another.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, I need to move that to constants.

Comment thread src/policy/file/v1.rs

ds_algorithm: Default::default(),

// It would be best to default to the SOA minimum. However,
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.

What's stopping us from giving the SOA MINIMUM to keyset?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Nothing but complexity. It is possible to take to SOA minimum and send it to keyset as the default-ttl. I'm not sure it is worth the effort.

Comment thread src/policy/file/v1.rs Outdated
Philip-NLnetLabs and others added 4 commits September 18, 2025 16:54
Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
@Philip-NLnetLabs Philip-NLnetLabs merged commit f90e017 into main Sep 19, 2025
27 checks passed
@Philip-NLnetLabs Philip-NLnetLabs deleted the policy-defaults branch September 19, 2025 07:48
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.

2 participants