An OCI DNS record still points at an address or host name you gave up, such as a released reserved public IP, the ephemeral IP of a deleted load balancer or instance, or a third-party service name you no longer own. An attacker who obtains that address or registers that name serves content, collects cookies or passes domain validation under your subdomain. Save the live content as evidence, then delete the record.
Look here
Log
Search for
OCI DNS zones
Every zone in the compartment: oci dns zone list -c <compartment-ocid> --all
OCI DNS records
A, AAAA and CNAME records, one type at a time. Repeat with --rtype CNAME and --rtype AAAA: oci dns record zone get --zone-name-or-id <zone> --rtype A --all
Reserved public IPs
Reserved addresses that still exist, in every region and compartment: oci network public-ip list -c <compartment-ocid> --scope REGION --lifetime RESERVED --all
Address behind each A record
Whether the address is still yours. An error means the address is not a public IP object you can see: oci network public-ip get --public-ip-address <ip>
Audit, resource retirement
Releases and deletions in the months before the record went stale: DeletePublicIp, UpdatePublicIp (unassigned), DeleteLoadBalancer, TerminateInstance, DeleteBucket. Audit keeps 365 days
Audit, DNS changes
Record and zone changes: UpdateZoneRecords, PatchZoneRecords, UpdateRRSet, PatchRRSet, DeleteRRSet, UpdateDomainRecords, PatchDomainRecords, CreateZone, DeleteZone
Monitoring, namespace oci_dns
Query volume for the zone, as DNSQueryCount by resourceID. Public zones have this query count metric and no documented per-query log
Private DNS resolver logs, if enabled
Lookups from inside your virtual cloud networks, as query and response activity from the VCN resolvers
The live subdomain
What the name serves now. Fetch it from outside the tenancy, record the TLS certificate, page content and response headers, and check certificate transparency logs for certificates issued for the name
Contain
#
Item
1
Save the record set and a capture of the live content as evidence, as in Evidence: oci dns record zone get --zone-name-or-id <zone> --all > zone-<zone>.json
2
Delete the dangling record destructive. For a private zone accessed by name, add --scope PRIVATE --view-id <ocid>: oci dns record rrset delete --zone-name-or-id <zone> --domain <fqdn> --rtype <record-type>
3
Remove matching records at any other DNS provider that serves the same name, and remove delegations to zones you deleted destructive
4
Revoke TLS certificates issued for the name while the attacker controlled it
5
Invalidate sessions for applications that share cookies with the parent domain
Eradicate and recover
#
Item
1
Compare every A, AAAA and CNAME record in every zone with the live inventory of public IPs, load balancers, API gateways and third-party services, and delete the rest
2
Use reserved public IPs for load balancers and instances that DNS names point at. A reserved IP survives the resource and returns to your tenancy's pool when unassigned
3
Make DNS record removal part of the decommission checklist, before the IP or service is released
4
Restrict who can change records with policy conditions on target.dns-zone.name and target.dns-record.type
5
Create an Events rule and notification for DNS record changes in production zones
6
Tell the owners of affected applications what the attacker could have received, and brief the Public Information Officer if customers saw the content
Watch out
An ephemeral public IP returns to the pool of available addresses when its instance is terminated or its VNIC is detached, and it cannot be converted to a reserved IP afterward. Another OCI customer can receive that address.
Object Storage bucket names are unique only inside your tenancy's namespace, which no other tenancy can take. A CNAME to a deleted bucket host name is a smaller risk than one to a released IP or a third-party service.
Oracle documentation: DNS IAM policy details, DNS metrics, private DNS logging release note, public IP addresses, understanding Object Storage namespaces, OCI CLI reference for dns record zone get, dns record rrset delete, network public-ip get and network public-ip list. Checked September 2026. Rechecked October 2026: every command against OCI CLI 3.94.2.