Skip to content

Commit 2d8ee65

Browse files
maxvpRebeccaTamachiro
authored andcommitted
[Gateway] Remove domain selector for Force IP version (#20590)
* Remove domain selector * Update API calls
1 parent 1f54200 commit 2d8ee65

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/content/docs/cloudflare-one/policies/gateway/dns-policies/common-policies.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,9 @@ curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/gateway/rule \
424424

425425
## Control IP version
426426

427-
Enterprise users can pair these policies with an [egress policy](/cloudflare-one/policies/gateway/egress-policies/) to control which IP address is used to egress to the origin server.
427+
Enterprise users can pair these policies with an [egress policy](/cloudflare-one/policies/gateway/egress-policies/) to control which IP version is used to egress to the origin server.
428+
429+
Optionally, you can use the Domain selector to control the IP version for specific sites.
428430

429431
:::note
430432
To ensure traffic routes through your preferred IP version, disable **Display block page**.
@@ -436,10 +438,9 @@ Force users to connect with IPv4 by blocking IPv6 resolution.
436438

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

439-
| Selector | Operator | Value | Logic | Action |
440-
| ----------------- | -------- | ------------- | ----- | ------ |
441-
| Query Record Type | is | _AAAA_ | And | Block |
442-
| Domain | is | `example.com` | | |
441+
| Selector | Operator | Value | Action |
442+
| ----------------- | -------- | ------ | ------ |
443+
| Query Record Type | is | _AAAA_ | Block |
443444

444445
</TabItem>
445446

@@ -457,7 +458,7 @@ curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/gateway/rule \
457458
"filters": [
458459
"dns"
459460
],
460-
"traffic": "dns.query_rtype == \"AAAA\" and any(dns.domains[*] == \"example.com\")",
461+
"traffic": "dns.query_rtype == \"AAAA\"",
461462
"identity": ""
462463
}'
463464
```
@@ -470,10 +471,9 @@ Force users to connect with IPv6 by blocking IPv4 resolution.
470471

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

473-
| Selector | Operator | Value | Logic | Action |
474-
| ----------------- | -------- | ------------- | ----- | ------ |
475-
| Query Record Type | is | _A_ | And | Block |
476-
| Domain | is | `example.com` | | |
474+
| Selector | Operator | Value | Action |
475+
| ----------------- | -------- | ----- | ------ |
476+
| Query Record Type | is | _A_ | Block |
477477

478478
</TabItem>
479479

@@ -491,7 +491,7 @@ curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/gateway/rule \
491491
"filters": [
492492
"dns"
493493
],
494-
"traffic": "dns.query_rtype == \"A\" and any(dns.domains[*] == \"example.com\")",
494+
"traffic": "dns.query_rtype == \"A\"",
495495
"identity": ""
496496
}'
497497
```

0 commit comments

Comments
 (0)