Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
ca663d3c
Verified
Commit
ca663d3c
authored
1 year ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
another alternative to our dnssec management, from
@weasel
parent
81481858
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/dns.md
+51
-0
51 additions, 0 deletions
howto/dns.md
with
51 additions
and
0 deletions
howto/dns.md
+
51
−
0
View file @
ca663d3c
...
...
@@ -607,3 +607,54 @@ There's been some critiques of DNSSEC over the years, here's a talk I
found about it recently:
*
[
Geoff Huston - DNSSEC: Yes or No
](
https://ripe86.ripe.net/archives/video/1018/
)
at
[
RIPE 86
](
https://ripe86.ripe.net/
)
(
May
2023),
[
slides
](
https://ripe86.ripe.net/presentations/51-2023-05-23-dnssec.pdf
)
### automatic DNSSEC management with bind
Right now, the Nagios check (!) is responsible for key rotation and
all that stuff. We could move this in bind directly. Here's how weasel
is currently experimenting with it:
```
inline-signing yes;
};
+ dnssec-policy "dnssec-policy-mustelid.at" {
+ keys {
+ // ksk key-directory lifetime P2Y algorithm rsasha256 2048;
+ // zsk key-directory lifetime P4M algorithm rsasha256 2048;
+ ksk key-directory lifetime P4M algorithm rsasha256 2048;
+ zsk key-directory lifetime P50D algorithm rsasha256 1536;
+ };
+
+ dnskey-ttl P1D;
+ max-zone-ttl P1W;
+ nsec3param;
+
+ publish-safety P15D;
+ purge-keys P90D;
+ retire-safety P15D;
+
+ zone-propagation-delay PT8H;
+
+ signatures-refresh P25D;
+ signatures-validity P40D;
+ signatures-validity-dnskey P40D;
+ };
+
zone "mustelid.at" {
type master;
file "/srv/dns.noreply.org/var/generated/mustelid.at";
@@ -506,12 +542,12 @@
2a04:dd00:21:3::2 ; // ns2.sthu.org/plato.sthu.org
};
- key-directory "/srv/dns.noreply.org/var/keys/mustelid.at";
-sig-validity-interval 40 25;
-auto-dnssec maintain;
-inline-signing yes;
+ key-directory "/srv/dns.noreply.org/var/keys/mustelid.at";
+ dnssec-policy "dnssec-policy-mustelid.at";
+ inline-signing yes;
};
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment