@@ -125,8 +125,6 @@ type SettingEditResponseZoneDefaults struct {
125
125
FlattenAllCNAMEs bool `json:"flatten_all_cnames"`
126
126
// Whether to enable Foundation DNS Advanced Nameservers on the zone.
127
127
FoundationDNS bool `json:"foundation_dns"`
128
- // Settings for this internal zone.
129
- InternalDNS SettingEditResponseZoneDefaultsInternalDNS `json:"internal_dns"`
130
128
// Whether to enable multi-provider DNS, which causes Cloudflare to activate the
131
129
// zone even when non-Cloudflare NS records exist, and to respect NS records at the
132
130
// zone apex during outbound zone transfers.
@@ -150,7 +148,6 @@ type SettingEditResponseZoneDefaults struct {
150
148
type settingEditResponseZoneDefaultsJSON struct {
151
149
FlattenAllCNAMEs apijson.Field
152
150
FoundationDNS apijson.Field
153
- InternalDNS apijson.Field
154
151
MultiProvider apijson.Field
155
152
Nameservers apijson.Field
156
153
NSTTL apijson.Field
@@ -169,29 +166,6 @@ func (r settingEditResponseZoneDefaultsJSON) RawJSON() string {
169
166
return r .raw
170
167
}
171
168
172
- // Settings for this internal zone.
173
- type SettingEditResponseZoneDefaultsInternalDNS struct {
174
- // The ID of the zone to fallback to.
175
- ReferenceZoneID string `json:"reference_zone_id"`
176
- JSON settingEditResponseZoneDefaultsInternalDNSJSON `json:"-"`
177
- }
178
-
179
- // settingEditResponseZoneDefaultsInternalDNSJSON contains the JSON metadata for
180
- // the struct [SettingEditResponseZoneDefaultsInternalDNS]
181
- type settingEditResponseZoneDefaultsInternalDNSJSON struct {
182
- ReferenceZoneID apijson.Field
183
- raw string
184
- ExtraFields map [string ]apijson.Field
185
- }
186
-
187
- func (r * SettingEditResponseZoneDefaultsInternalDNS ) UnmarshalJSON (data []byte ) (err error ) {
188
- return apijson .UnmarshalRoot (data , r )
189
- }
190
-
191
- func (r settingEditResponseZoneDefaultsInternalDNSJSON ) RawJSON () string {
192
- return r .raw
193
- }
194
-
195
169
// Settings determining the nameservers through which the zone should be available.
196
170
type SettingEditResponseZoneDefaultsNameservers struct {
197
171
// Nameserver type
@@ -322,8 +296,6 @@ type SettingGetResponseZoneDefaults struct {
322
296
FlattenAllCNAMEs bool `json:"flatten_all_cnames"`
323
297
// Whether to enable Foundation DNS Advanced Nameservers on the zone.
324
298
FoundationDNS bool `json:"foundation_dns"`
325
- // Settings for this internal zone.
326
- InternalDNS SettingGetResponseZoneDefaultsInternalDNS `json:"internal_dns"`
327
299
// Whether to enable multi-provider DNS, which causes Cloudflare to activate the
328
300
// zone even when non-Cloudflare NS records exist, and to respect NS records at the
329
301
// zone apex during outbound zone transfers.
@@ -347,7 +319,6 @@ type SettingGetResponseZoneDefaults struct {
347
319
type settingGetResponseZoneDefaultsJSON struct {
348
320
FlattenAllCNAMEs apijson.Field
349
321
FoundationDNS apijson.Field
350
- InternalDNS apijson.Field
351
322
MultiProvider apijson.Field
352
323
Nameservers apijson.Field
353
324
NSTTL apijson.Field
@@ -366,29 +337,6 @@ func (r settingGetResponseZoneDefaultsJSON) RawJSON() string {
366
337
return r .raw
367
338
}
368
339
369
- // Settings for this internal zone.
370
- type SettingGetResponseZoneDefaultsInternalDNS struct {
371
- // The ID of the zone to fallback to.
372
- ReferenceZoneID string `json:"reference_zone_id"`
373
- JSON settingGetResponseZoneDefaultsInternalDNSJSON `json:"-"`
374
- }
375
-
376
- // settingGetResponseZoneDefaultsInternalDNSJSON contains the JSON metadata for the
377
- // struct [SettingGetResponseZoneDefaultsInternalDNS]
378
- type settingGetResponseZoneDefaultsInternalDNSJSON struct {
379
- ReferenceZoneID apijson.Field
380
- raw string
381
- ExtraFields map [string ]apijson.Field
382
- }
383
-
384
- func (r * SettingGetResponseZoneDefaultsInternalDNS ) UnmarshalJSON (data []byte ) (err error ) {
385
- return apijson .UnmarshalRoot (data , r )
386
- }
387
-
388
- func (r settingGetResponseZoneDefaultsInternalDNSJSON ) RawJSON () string {
389
- return r .raw
390
- }
391
-
392
340
// Settings determining the nameservers through which the zone should be available.
393
341
type SettingGetResponseZoneDefaultsNameservers struct {
394
342
// Nameserver type
@@ -510,8 +458,6 @@ type SettingEditParamsZoneDefaults struct {
510
458
FlattenAllCNAMEs param.Field [bool ] `json:"flatten_all_cnames"`
511
459
// Whether to enable Foundation DNS Advanced Nameservers on the zone.
512
460
FoundationDNS param.Field [bool ] `json:"foundation_dns"`
513
- // Settings for this internal zone.
514
- InternalDNS param.Field [SettingEditParamsZoneDefaultsInternalDNS ] `json:"internal_dns"`
515
461
// Whether to enable multi-provider DNS, which causes Cloudflare to activate the
516
462
// zone even when non-Cloudflare NS records exist, and to respect NS records at the
517
463
// zone apex during outbound zone transfers.
@@ -533,16 +479,6 @@ func (r SettingEditParamsZoneDefaults) MarshalJSON() (data []byte, err error) {
533
479
return apijson .MarshalRoot (r )
534
480
}
535
481
536
- // Settings for this internal zone.
537
- type SettingEditParamsZoneDefaultsInternalDNS struct {
538
- // The ID of the zone to fallback to.
539
- ReferenceZoneID param.Field [string ] `json:"reference_zone_id"`
540
- }
541
-
542
- func (r SettingEditParamsZoneDefaultsInternalDNS ) MarshalJSON () (data []byte , err error ) {
543
- return apijson .MarshalRoot (r )
544
- }
545
-
546
482
// Settings determining the nameservers through which the zone should be available.
547
483
type SettingEditParamsZoneDefaultsNameservers struct {
548
484
// Nameserver type
0 commit comments