Skip to content

Commit 4bdf47a

Browse files
[DNS] Fix API docs links for internal DNS actions (#21286)
* Fix URL for view creation * Fix URLs for other view actions * Fix API link for Update DNS zone action
1 parent ea83f64 commit 4bdf47a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ When setting up DNS views, observe the following conditions:
2020

2121
## Create a view
2222

23-
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.
23+
Use the [Create Internal DNS View](/api/resources/dns/subresources/settings/subresources/account/subresources/views/methods/create/) endpoint. For each view you create, list all the internal zones that should be grouped under that view.
2424

2525
## Delete a view
2626

27-
Use the [Delete Internal DNS View](/api/resources/dns/subresources/settings/subresources/views/methods/delete/) endpoint.
27+
Use the [Delete Internal DNS View](/api/resources/dns/subresources/settings/subresources/account/subresources/views/methods/delete/) endpoint.
2828

2929
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.
3030

3131
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 SERVFAIL.
3232

3333
## Other actions
3434

35-
- [Update a DNS view](/api/resources/dns/subresources/settings/subresources/views/methods/edit/) (`PATCH`)
36-
- [Get view details](/api/resources/dns/subresources/settings/subresources/views/methods/get/) (`GET`)
37-
- [List DNS views](/api/resources/dns/subresources/settings/subresources/views/methods/list/) (`GET`)
35+
- [Update a DNS view](/api/resources/dns/subresources/settings/subresources/account/subresources/views/methods/edit/) (`PATCH`)
36+
- [Get view details](/api/resources/dns/subresources/settings/subresources/account/subresources/views/methods/get/) (`GET`)
37+
- [List DNS views](/api/resources/dns/subresources/settings/subresources/account/subresources/views/methods/list/) (`GET`)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Although there are some steps that can be achieved on the dashboard, currently t
4747

4848
### (Optional) Reference a zone from another zone
4949

50-
1. Use the [Update DNS settings](/api/resources/dns/subresources/settings/methods/edit/) endpoint to add a reference from an internal zone to another internal zone. In `--data`, specify the `internal_dns` object with the parameter `reference_zone_id`. For details, refer to [reference zones](/dns/internal-dns/internal-zones/reference-zones/).
50+
1. Use the [Update DNS settings](/api/resources/dns/subresources/settings/subresources/zone/methods/edit/) endpoint to add a reference from an internal zone to another internal zone. In `--data`, specify the `internal_dns` object with the parameter `reference_zone_id`. For details, refer to [reference zones](/dns/internal-dns/internal-zones/reference-zones/).
5151

5252
<Example>
5353
<Render file="internal-reference-zone-api"/>
@@ -57,7 +57,7 @@ Although there are some steps that can be achieved on the dashboard, currently t
5757

5858
Since the resolver policy will require a [DNS view](/dns/internal-dns/dns-views/), you must have at least one view to be able to route requests to internal zones.
5959

60-
1. 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.
60+
1. Use the [Create Internal DNS View](/api/resources/dns/subresources/settings/subresources/account/subresources/views/methods/create/) endpoint. For each view you create, list all the internal zones that should be grouped under that view.
6161

6262
<Details header="DNS view configuration conditions">
6363
<Render file="internal-dns-view-conditions" />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A wildcard record (`*.example.local`) in the matching internal zone will take pr
2222

2323
## Set up
2424

25-
To set up a reference zone, use the [Update DNS settings](/api/resources/dns/subresources/settings/methods/edit/) endpoint. In `--data`, specify the `internal_dns` object with the parameter `reference_zone_id`.
25+
To set up a reference zone, use the [Update DNS settings](/api/resources/dns/subresources/settings/subresources/zone/methods/edit/) endpoint. In `--data`, specify the `internal_dns` object with the parameter `reference_zone_id`.
2626

2727
<Example>
2828
<Render file="internal-reference-zone-api"/>

0 commit comments

Comments
 (0)