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 primary public zones with publicly available domain names reachable on the internet. For more information, see Public DNS.
You can also create a secondary zone, which pulls records for the zone from an external primary server.-
The OCI DNS service is limited to 1000 zones per account and 25,000 records per zone. Customers with zone and record size needs exceeding these values are encouraged to contact support at support.oracle.com.
-
Zone file uploads are limited to 1 megabyte (MB) in size per zone file. If a zone file is larger than 1 MB, you need to split the zone file into smaller batches to upload all the zone information. For more information and a workaround for this limitation, see Zone File Limitations and Considerations.
- Public DNS zones are only supported in the OC1 commercial realm. For more information and to check if a region is included in OC1, see Regions and Availability Domains.
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.