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.

OCI Service API 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:

Note

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.