Deleting a DNS Zone

Delete a DNS zone and its records.

Caution

Deletion permanently removes a zone and its records from the DNS service.
For more information, see the DNS service overview.
    1. Open the navigation menu and click Networking. Under DNS management, click Zones.
    2. Under List scope, select the compartment that contains the zone that you want to delete. All zones are listed in tabular form.
    3. Find the zone you want to delete, and then select Delete from its Actions menu (Actions Menu).
    4. Enter the zone name to confirm the deletion, and then click 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.