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
49 changes: 27 additions & 22 deletions src/content/docs/china-network/reference/infrastructure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ title: Infrastructure
pcx_content_type: reference
sidebar:
order: 3

---

import { APIRequest } from "~/components";

## China data centers

For up-to-date information, refer to the [Cloudflare China Network](https://www.cloudflare.com/china-network/) page.
Expand All @@ -16,30 +17,34 @@ Cloudflare publishes a list of IP addresses for JD Cloud data centers, used by C

You can obtain the list of JD Cloud data center IP addresses via Cloudflare API. Use the [Cloudflare/JD Cloud IP Details](/api/resources/ips/methods/list/) operation with the `networks=jdcloud` query string parameter:

```sh title="Example request"
$ curl https://api.cloudflare.com/client/v4/ips?networks=jdcloud
```
<APIRequest
path="/ips"
method="GET"
parameters={{
networks: "jdcloud",
}}
/>

IP addresses of JD Cloud data centers will be returned in the `jdcloud_cidrs` array:

```json title="Example response" {9,10,11}
```json output {9-11}
{
"result": {
"ipv4_cidrs": [
// (...)
],
"ipv6_cidrs": [
// (...)
],
"jdcloud_cidrs": [
// (...)
],
"etag": "<ETAG>"
},
"success": true,
"errors": [],
"messages": []
"result": {
"ipv4_cidrs": [
// (...)
],
"ipv6_cidrs": [
// (...)
],
"jdcloud_cidrs": [
// (...)
],
"etag": "<ETAG>"
},
"success": true,
"errors": [],
"messages": []
}
```

The `jdcloud_cidrs` array lists the IP addresses of JD Cloud data centers.

Cloudflare will add new IP addresses to this list 30 days in advance before connecting from those IP addresses to an origin server. If you are using the China Network on JD Cloud, you should update your firewalls to reflect any IP address changes at least once every 30 days.