IPv6 Support
Learn how you can use IPv6 addresses with Oracle Cloud Infrastructure (OCI) services.
API Endpoint Overview
All OCI services offer API endpoints that support IPv4 addressing and clients. All OCI services use IPv4-only endpoints, as documented in API Reference and Endpoints. These endpoints use the following naming convention:
<service>.<region>.<oracle_domain>.<top_level_domain>
Select OCI services offer additional API endpoints that provide both IPv4 and IPv6 (dual-stack) support. The endpoints for these services include the .ds identifier indicating dual-stack, that offers both A and AAAA DNS record responses for both IPv4 and IPv6 connectivity. These dual-stack endpoints typically use the following naming convention:
<service>.<region>.ds.<oracle_domain>.<top_level_domain>
The following table shows a comparison of endpoint types.
| Details | Default API Endpoint | Dual-Stack API Endpoint |
|---|---|---|
<endpoint_schema> |
<service>.<region>.<oracle_domain>.<top_level_domain> |
<service>.<region>.ds.<oracle_domain>.<top_level_domain> |
| Logging Management service – US East region | https://logging.us-ashburn-1.oci.oraclecloud.com | https://logging.us-ashburn-1.ds.oci.oraclecloud.com |
| DNS Records | A record | A, AAAA |
| Client IP connections supported | IPv4-only | IPv4, IPv6 |
To confirm a service's dual-stack endpoint name, review the listed services in OCI Services with Dual-stack Endpoints.
Using Dual-stack API Endpoints
To use the dual-stack API endpoint, you can opt-in to use the new endpoint through client configuration set with enable-dual-stack or use a manual endpoint override. If you use the enable-dual-stack behavior built into the following OCI clients and the service doesn't offer a dual-stack endpoint, the OCI client falls back to the original IPv4-only endpoint.
See the following list of OCI-provided clients to learn how to use dual-stack endpoints automatically using the enable-dual-stack behavior:
- OCI CLI command reference library.
- Configuring the OCI Terraform Provider
- OCI SDK for Java.
- OCI SDK for Python.
- OCI SDK for Go.
- OCI SDK for .NET.
- OCI SDK for JavaScript and TypeScript.
OCI SDK for Ruby is no longer being actively developed by Oracle and doesn't provide dual-stack support.
OCI Services with Dual-Stack Endpoints
The following services support dual-stack endpoints.
Core Services
OCI Core Services includes the Networking and Compute services. For IPv6 support for Core Services, see the following resources:
- Networking: IPv6 Addresses
- Compute: Creating an Instance
File Storage
For IPv6 support for File Storage, see the following resources:
Identity and Access Management Data Plane API
For IPv6 support for Identity and Access Management Data Plane API, see the following resources:
Load Balancer
For IPv6 support for Load Balancer, see the following resources:
Logging
For IPv6 support for Logging, see the following resources:
Monitoring
For IPv6 support for Monitoring, see the following resources:
Object Storage
For IPv6 support for Object Storage, see the following resources:
OS Management Hub
For IPv6 support for OS Management Hub, see the following resources:
Search
For IPv6 support for Search, see the following resources: