Deleting a DNS Zone
Delete a domain name service (DNS) zone and its records.
Caution
Deletion permanently removes a zone and its records from the DNS service.
Deletion permanently removes a zone and its records from the DNS service.
Note
Protected private zones are managed by other OCI services, so you can't delete them directly. For example, if a protected zone was created because a subnet was created, then deleting the subnet would delete the zone.
Protected private zones are managed by other OCI services, so you can't delete them directly. For example, if a protected zone was created because a subnet was created, then deleting the subnet would delete the zone.
For more information, see the DNS service overview.
- On the Public zones or Private zones list page, find the zone you want to delete. If you need help finding the list page, see Listing DNS Zones.
- From the Actions menu (three dots) for the zone you want to delete, select Delete.
- Enter the zone name to confirm the deletion, and then select Delete.
Use the zone delete command and required parameters to delete a zone:
oci dns zone delete --zone-name-or-id zone_id or zone_OCID ... [OPTIONS]For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the DeleteZone operation to delete a zone.