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
- Open the navigation menu and click Networking. Under DNS management, click Zones.
- Under List scope, select the compartment that contains the zone in which you want to delete a record.
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.
Under Resources, click Records.
A list of records appear. Records that have the same name, type, and TTL are displayed as a single RRset.
- Click Manage records.
- Use the Filters option to filter by state or type.
Find the record that you want to delete, click its Actions menu, and then select Delete.
Record changes don't take effect until they're published in the next steps.
- Click Publish Changes.
- 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.