Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions src/content/docs/network/ipv6-compatibility.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { FeatureTable, TabItem, Tabs } from "~/components";

Cloudflare enables IPv6 on all domains without requiring additional configuration or hardware (as long as your host provides IPv6 support).

When IPv6 compatibility is turned on, Cloudflare auto generates [`AAAA` DNS records](/dns/manage-dns-records/reference/dns-record-types/#a-and-aaaa) to allow IPv6 clients to connect. On the other hand, when IPv6 compatibility is turned off, Cloudflare does not automatically generate and advertise `AAAA` DNS for the zone.

When both IPv4 and IPv6 connections are available, Cloudflare prefers IPv4.

## Availability
Expand All @@ -16,12 +18,10 @@ When both IPv4 and IPv6 connections are available, Cloudflare prefers IPv4.

## Enable IPv6 compatibility

By default, IPv6 compatibility is enabled on your domain and will apply to all domains and subdomains covered by [proxied DNS records](/dns/proxy-status/).
By default, IPv6 compatibility is turned on for your domain and will apply to all domains and subdomains covered by [proxied DNS records](/dns/proxy-status/).

:::note

If you have signed up for Cloudflare through a [Cloudflare hosting partner](http://www.cloudflare.com/hosting-partners) or by use [partial setup](/dns/zone-setups/partial-setup/), IPv6 compatibility does not apply to your apex domain.

:::

## Disable IPv6 compatibility
Expand All @@ -32,23 +32,23 @@ Alternatively, customers with an Enterprise account can disable Cloudflare's IPv

<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">

To disable **IPv6 Compatibility** in the dashboard:
To turn off IPv6 compatibility in the dashboard:

1. Log in to your [Cloudflare account](https://dash.cloudflare.com) and go to a specific domain.
2. Go to **Network**.
3. For **IPv6 Compatibility**, switch the toggle to **Off**.
2. Go to **Network**.
3. Turn off **IPv6 Compatibility**.

</TabItem> <TabItem label="API">

To disable **IPv6 Compatibility** with the API, send a [`PATCH`](/api/resources/zones/subresources/settings/methods/edit/) request with `ipv6` as the setting name in the URI path, and the `value` parameter set to `"off"`.
To disable IPv6 compatibility using the API, send a [`PATCH`](/api/resources/zones/subresources/settings/methods/edit/) request with `ipv6` as the setting name in the URI path, and the `value` parameter set to `"off"`.

</TabItem> </Tabs>

:::note

Even when IPv6 is disabled, domains can still receive IPv6 traffic via the Tor network. To completely disable all IPv6 traffic:
Even when IPv6 is disabled, domains may still receive IPv6 traffic (for example, via the Tor network). To completely disable all IPv6 traffic:

- Disable [**Onion Routing**](/network/onion-routing/).
- Turn off [**Onion Routing**](/network/onion-routing/).
- Use a [WAF custom rule](/waf/custom-rules/create-dashboard/) to block `0:0:0:0:0:0:0:0/0` using the filter `ip.src in {::/0}`.

:::
Expand All @@ -57,8 +57,8 @@ Even when IPv6 is disabled, domains can still receive IPv6 traffic via the Tor

## Troubleshoot an IPv6 network issue

Provide the following information to [Cloudflare Support](/support/contacting-cloudflare-support/) if you experience issues with IPv6 connectivity:
Provide the following information to [Cloudflare Support](/support/contacting-cloudflare-support/) if you experience issues with IPv6 connectivity:

- A [traceroute](/support/troubleshooting/general-troubleshooting/gathering-information-for-troubleshooting-sites/#perform-a-traceroute) that demonstrates the IPv6 connection issues,
- the [Cloudflare data center serving your request](/support/troubleshooting/general-troubleshooting/gathering-information-for-troubleshooting-sites/#identify-the-cloudflare-data-center-serving-your-request) when the IPv6 issues occur, and
- confirmation of whether [disabling IPv6 Compatibility](#disable-ipv6-compatibility) resolves the issue.
- A [traceroute](/support/troubleshooting/general-troubleshooting/gathering-information-for-troubleshooting-sites/#perform-a-traceroute) that demonstrates the IPv6 connection issues.
- The [Cloudflare data center serving your request](/support/troubleshooting/general-troubleshooting/gathering-information-for-troubleshooting-sites/#identify-the-cloudflare-data-center-serving-your-request) when the IPv6 issues occur.
- Confirmation of whether [disabling IPv6 Compatibility](#disable-ipv6-compatibility) resolves the issue.