Deleting a DNS Zone Record

Delete the records in a domain name service (DNS) zone.

For more information, see Managing Resource Records.

For general service information, see the DNS service overview

    1. Open the navigation menu  and select Networking. Under DNS management, select Zones.
    2. Under List scope, select the compartment that contains the zone in which you want to delete a record.
    3. Select the name of the zone to open its details page.
      If you're deleting a record in a private zone, select the Private Zones tab and then select 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, select Records.

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

    5. Select Manage records.
    6. Use the Filters option to filter by state or type.
    7. Find the record that you want to delete, select its Actions menu (Actions Menu), and then select Delete.
      Record changes don't take effect until they're published in the next steps.
    8. Select Publish Changes.
    9. On the Confirm page, review the changes, and then select 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.