Enabling DNSSEC on a Zone
Enable DNS security extensions (DNSSEC) on a public zone.
You can't enable DNSSEC on a private zone, or on a zone with downstream servers configured.
Use the zone create command and required parameters to create a public primary zone. To enable DNSSEC, set the
dnssec-state
option to enabled:oci dns zone create --compartment-id compartment_id --name "zone_name" --zone-type PRIMARY --scope GLOBAL --dnssec-state ENABLED... [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
The system creates and publishes the zone, complete with the necessary SOA and NS records. The details for the zone appear. For information on adding a record to your zone, see Adding a Record to a DNS Zone.
Run the CreateZone operation to create a public primary zone. Specify the zone type as
PRIMARY
and zone scope asGLOBAL
. To enable DNSSEC, specify thednssecState
asENABLED
.The system creates and publishes the zone, complete with the necessary SOA and NS records. The details for the zone appear. For information on adding a record to your zone, see Adding a Record to a DNS Zone.