Skip to content

Commit 08164a5

Browse files
committed
Add selector to list
1 parent 104f8c7 commit 08164a5

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,14 @@ Use this selector to filter based on the IP addresses that the query resolves to
392392
| ----------- | ------------------------------------------ | -------------------- |
393393
| Resolved IP | `any(dns.resolved_ips[*] == 198.51.100.0)` | After DNS resolution |
394394

395+
### Request Context Categories
396+
397+
Use this selector to match a dynamic list of [category IDs](/cloudflare-one/policies/gateway/domain-categories/#category-and-subcategory-ids) sent in the EDNS portion of a DNS query. Cloudflare includes request context in the OPT code `65050`.
398+
399+
| UI name | API example | Evaluation phase |
400+
| -------------------------- | --------------------------------------------------------------------- | --------------------- |
401+
| Request Context Categories | `any(dns.categories_in_request_context_matches[*] in {2 67 125 133})` | Before DNS resolution |
402+
395403
### Security Categories
396404

397405
<Render file="gateway/selectors/security-categories" />

src/content/partials/cloudflare-one/gateway/selectors/dns-request-context-categories.mdx

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)