File tree Expand file tree Collapse file tree 2 files changed +15
-21
lines changed
dnssec/multi-signer-dnssec Expand file tree Collapse file tree 2 files changed +15
-21
lines changed Original file line number Diff line number Diff line change @@ -94,16 +94,13 @@ curl "https://api.cloudflare.com/client/v4/zones/{zone_id}/dns_records" \
9494This step is required. Without turning on this setting, Cloudflare will ignore any ` NS ` records created on the zone apex. This means that responses to DNS queries made to the zone apex and requesting ` NS ` records will only contain Cloudflare nameservers.
9595:::
9696
97- ``` bash
98- curl --request PATCH \
99- " https://api.cloudflare.com/client/v4/zones/{zone_id}/dns_settings" \
100- --header " X-Auth-Email: <EMAIL>" \
101- --header " X-Auth-Key: <API_KEY>" \
102- --header " Content-Type: application/json" \
103- --data ' {
104- "multi_provider": true
105- }'
106- ```
97+ <APIRequest
98+ path = " /zones/{zone_id}/dns_settings"
99+ method = " PATCH"
100+ json = { {
101+ " multi_provider" : true ,
102+ }}
103+ />
107104
108105</TabItem >
109106</Tabs >
Original file line number Diff line number Diff line change 66 label : Setup
77---
88
9- import { TabItem , Tabs } from " ~/components" ;
9+ import { TabItem , Tabs , APIRequest } from " ~/components" ;
1010
1111Advanced nameservers included with [ Foundation DNS] ( /dns/foundation-dns/ ) are an opt-in configuration.
1212
@@ -27,16 +27,13 @@ To enable advanced nameservers on an existing zone:
2727
2828 Use the [ Update DNS Settings] ( /api/resources/dns/subresources/settings/methods/edit/ ) endpoint to send a PATCH request like the following:
2929
30- ``` bash
31- curl --request PATCH \
32- " https://api.cloudflare.com/client/v4/zones/{zone_id}/dns_settings" \
33- --header " X-Auth-Email: <EMAIL>" \
34- --header " X-Auth-Key: <API_KEY>" \
35- --header " Content-Type: application/json" \
36- --data ' {
37- "foundation_dns": true
38- }'
39- ```
30+ <APIRequest
31+ path = " /zones/{zone_id}/dns_settings"
32+ method = " PATCH"
33+ json = { {
34+ " foundation_dns" : true ,
35+ }}
36+ />
4037
4138 The response body will contain your assigned namservers in the ` nameservers ` object. You will use these nameservers in the next step.
4239
You can’t perform that action at this time.
0 commit comments