Creating a Public DNS Zone
Create a public DNS zone to hold the trusted DNS records that reside on Oracle Cloud Infrastructure’s nameservers.
You can create public zones with publicly available domain names reachable on the internet. For more information, see Public DNS.
Create a primary zone to manage zone records. To pull records for the zone from an external primary server, create a secondary zone.Use the zone create command and required parameters to create a public primary zone:
oci dns zone create --compartment-id compartment_id --name "zone_name" --zone-type PRIMARY --scope GLOBAL... [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
.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.