You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/dns/internal-dns/how-to/dns-views.mdx
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,28 +6,36 @@ sidebar:
6
6
label: Views
7
7
---
8
8
9
-
intro
9
+
import { Details } from"~/components";
10
10
11
-
### Linked internal zones
11
+
Internal DNS views are logical groupings of [internal DNS zones](/dns/internal-dns/how-to/internal-zones/). As explained in the [architecture overview](/dns/internal-dns/#architecture-overview), DNS views are referenced by [Gateway resolver policies](/cloudflare-one/policies/gateway/resolver-policies/) to define how a specific query should be resolved.
12
12
13
-
### Reference by resolver policies
13
+
Refer to the sections below for details on how to manage your DNS views, or consider the [get started](/dns/internal-dns/#architecture-overview) for the complete workflow.
14
14
15
-
## Setup
16
-
17
-
### Configuration conditions
15
+
## Configuration conditions
18
16
19
17
When setting up DNS views, observe the following conditions:
20
18
21
19
- DNS views can be empty, with no [internal zones](/dns/internal-dns/how-to/internal-zones/) linked to them.
22
20
- A DNS view cannot contain public DNS zones[^1].
23
21
- Each internal DNS zone name must be unique within a given DNS view.
24
22
25
-
### Create a view
23
+
## Create a view
24
+
25
+
Use the [Create Internal DNS View](/api/resources/dns/subresources/settings/subresources/views/methods/create/) endpoint. For each view you create, list all the internal zones that should be grouped under that view.
26
+
27
+
## Delete a view
26
28
27
-
### Delete a view
29
+
Use the [Delete Internal DNS View](/api/resources/dns/subresources/settings/subresources/views/methods/delete/) endpoint
28
30
29
31
DNS views can be deleted even if they still have internal zones linked to them. The internal DNS zones will continue to exist but will be unlinked once the view is deleted.
30
32
31
33
It is also possible to delete a DNS view that is being referenced by a Gateway resolver policy. In this case, queries matching the policy will return `NXDOMAIN`.
32
34
35
+
## Other actions
36
+
37
+
-[Update a DNS view](/api/resources/dns/subresources/settings/subresources/views/methods/edit/) (`PATCH`)
0 commit comments