Domain

dnssec

domain.dnssec.enable() · status() · disable()

Signs the zone, and hands you the DS record to post at your registrar — in that order.

the DS is yours to postorder mattersdisabling warns
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

const ds = await domain.dnssec.enable();
// { status: "pending", ds: { keyTag, algorithm, digestType, digest, record } }

await domain.dnssec.status();
await domain.dnssec.disable();   // carries a warning, and it is not decoration
ds = domain.dnssec.enable()
# {"status": "pending", "ds": {"keyTag", "algorithm", "digestType", "digest", "record"}}

domain.dnssec.status()
domain.dnssec.disable()   # carries a warning, and it is not decoration

Signing first, DS second — never the reverse

Until the DS is at the registrar the signature is simply not verified: harmless. The other way round is not. A DS pointing at a zone that no longer signs makes the domain unreachable, not merely « not secure » — so remove the DS at your registrar first, then call disable().