Merge branch 'main' into tlim_sospf

This commit is contained in:
Tom Limoncelli 2025-09-12 11:15:45 -04:00
commit 652aab069d
3 changed files with 13 additions and 3 deletions

View file

@ -44,3 +44,9 @@ integration test suite can not be run in a single session. See
[https://desec.readthedocs.io/en/latest/rate-limits.html#api-request-throttling](https://desec.readthedocs.io/en/latest/rate-limits.html#api-request-throttling)
{% endhint %}
Upon domain creation, the DNSKEY and DS records needed for DNSSEC setup are
printed in the command output. If you need these values later, get them from
the deSEC web interface or query deSEC nameservers for the CDS records. For
example: `dig +short @ns1.desec.io example.com CDS` will return the published
CDS records which can be used to insert the required DS records into the parent
zone.

2
go.mod
View file

@ -158,5 +158,3 @@ require (
gopkg.in/sourcemap.v1 v1.0.5 // indirect
moul.io/http2curl v1.0.0 // indirect
)
tool golang.org/x/tools/cmd/stringer

View file

@ -261,7 +261,13 @@ func (c *desecProvider) createDomain(domain string) error {
return err
}
printer.Printf("To enable DNSSEC validation for your domain, make sure to convey the DS record(s) to your registrar:\n")
printer.Printf("%+q", dm.Keys)
for _, key := range dm.Keys {
printer.Printf("DNSKEY: %s\n", key.Dnskey)
printer.Printf("DS record(s):\n")
for _, d := range key.Ds {
printer.Printf(" %s\n", d)
}
}
return nil
}