Skip to content

Commit cb3afe2

Browse files
Add partial for zone creation and replace in relevant pages
1 parent 2ca66fd commit cb3afe2

File tree

5 files changed

+33
-13
lines changed

5 files changed

+33
-13
lines changed

src/content/docs/dns/internal-dns/get-started.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ Follow this guide to get started with Internal DNS.
4040

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

43-
(Dash instructions)
43+
<Render file="internal-zone-create-dash" params={{
44+
conditional: "get-started-detail"}}
45+
/>
4446

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

47-
<Render file="internal-zone-create" params={{
49+
<Render file="internal-zone-create-api" params={{
4850
conditional: "get-started-detail"}}
4951
/>
5052

src/content/docs/dns/internal-dns/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Simplify private network management with Cloudflare DNS for your internal resour
2121

2222
<Plan type="enterprise" />
2323

24-
Manage DNS records that should only be accessible within your private network. Internal DNS [zones](/dns/internal-dns/internal-zones/) and [views](/dns/internal-dns/dns-views/) pair up with [Gateway resolver policies](/cloudflare-one/policies/gateway/resolver-policies/) so that you can control how a DNS query should be responded to according to the query context, such as its source IP.
24+
Manage DNS records that should only be accessible within your private network. Internal DNS [zones](/dns/internal-dns/internal-zones/) and [views](/dns/internal-dns/dns-views/) pair up with [Gateway resolver policies](/cloudflare-one/policies/gateway/resolver-policies/) so that you can control how a DNS query should be responded to according to the query context, such as query source IP.
2525

2626
<Render file="internal-dns-beta-note" />
2727

src/content/docs/dns/internal-dns/internal-zones/setup.mdx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,12 @@ When setting up internal zones, observe the following conditions:
1919

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

22-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select an account.
23-
2. Go to **Internal DNS** and select **Create an internal zone**.
24-
3. Give your internal zone a descriptive name, observing the [configuration conditions](#configuration-conditions).
25-
4. Add DNS records to your internal zone using your preferred option:
26-
- [Import](/dns/manage-dns-records/how-to/import-and-export/) a formatted BIND file.
27-
- Select **Add a record** > **Create** under the selected record type and **Save record** after filling in the required fields. Refer to [DNS record types](/dns/manage-dns-records/reference/dns-record-types/) for details.
28-
:::note
29-
Creating multiple internal DNS records in batch is currently only supported via API.
30-
:::
22+
<Render file="internal-zone-create-dash" />
3123

3224
</TabItem>
3325
<TabItem label="API">
3426

35-
<Render file="internal-zone-create" />
27+
<Render file="internal-zone-create-api" />
3628

3729
</TabItem> </Tabs>
3830

File renamed without changes.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
params:
3+
- conditional?
4+
---
5+
6+
import { Details, Render } from "~/components";
7+
8+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select an account.
9+
2. Go to **Internal DNS** and select **Create an internal zone**.
10+
3. Give your internal zone a descriptive name.
11+
12+
{ props.conditional === "get-started-detail" && (
13+
<Details header="Internal zone configuration conditions">
14+
<Render file="internal-zones-conditions" />
15+
</Details>
16+
)
17+
}
18+
19+
4. Add DNS records to your internal zone using your preferred option:
20+
- [Import](/dns/manage-dns-records/how-to/import-and-export/) a formatted BIND file.
21+
- Select **Add a record** > **Create** under the selected record type and **Save record** after filling in the required fields. Refer to [DNS record types](/dns/manage-dns-records/reference/dns-record-types/) for details.
22+
5. Repeat this process for each internal zone you wish to add.
23+
24+
:::note
25+
Creating multiple internal DNS records in batch is currently only supported via API.
26+
:::

0 commit comments

Comments
 (0)