Deleting a DNS Zone Record

Delete the records in a DNS zone.

For more information, see Records.

For general service 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 in which you want to delete a record.
    3. Click the name of the zone to open its details page.
      If you're deleting a record in a private zone, click the Private Zones tab and then click the zone name. You can use filters to sort by zones that are protected (system generated) or by associated private view names.
    4. Under Resources, click Records.

      A list of records appear. Records that have the same name, type, and TTL are displayed as a single RRset.

    5. Click Manage records.
    6. Use the Filters option to filter by state or type.
    7. Find the record that you want to delete, click its Actions menu (Actions Menu), and then select Delete.
      Record changes don't take effect until they're published in the next steps.
    8. Click Publish Changes.
    9. On the Confirm page, review the changes, and then click Confirm publish changes.
  • Use the record rrset delete command and required parameters to delete a record.

    oci dns record rrset delete --domain FQDN_1 --rtype "record_type_1" --zone-name-or-id zone_name or zone_OCID ... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the DeleteRrset operation to delete a record in a zone.