@@ -125,6 +125,8 @@ 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"`
128
130
// Whether to enable multi-provider DNS, which causes Cloudflare to activate the
129
131
// zone even when non-Cloudflare NS records exist, and to respect NS records at the
130
132
// zone apex during outbound zone transfers.
@@ -148,6 +150,7 @@ type SettingEditResponseZoneDefaults struct {
148
150
type settingEditResponseZoneDefaultsJSON struct {
149
151
FlattenAllCNAMEs apijson.Field
150
152
FoundationDNS apijson.Field
153
+ InternalDNS apijson.Field
151
154
MultiProvider apijson.Field
152
155
Nameservers apijson.Field
153
156
NSTTL apijson.Field
@@ -166,6 +169,29 @@ func (r settingEditResponseZoneDefaultsJSON) RawJSON() string {
166
169
return r .raw
167
170
}
168
171
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
+
169
195
// Settings determining the nameservers through which the zone should be available.
170
196
type SettingEditResponseZoneDefaultsNameservers struct {
171
197
// Nameserver type
@@ -296,6 +322,8 @@ type SettingGetResponseZoneDefaults struct {
296
322
FlattenAllCNAMEs bool `json:"flatten_all_cnames"`
297
323
// Whether to enable Foundation DNS Advanced Nameservers on the zone.
298
324
FoundationDNS bool `json:"foundation_dns"`
325
+ // Settings for this internal zone.
326
+ InternalDNS SettingGetResponseZoneDefaultsInternalDNS `json:"internal_dns"`
299
327
// Whether to enable multi-provider DNS, which causes Cloudflare to activate the
300
328
// zone even when non-Cloudflare NS records exist, and to respect NS records at the
301
329
// zone apex during outbound zone transfers.
@@ -319,6 +347,7 @@ type SettingGetResponseZoneDefaults struct {
319
347
type settingGetResponseZoneDefaultsJSON struct {
320
348
FlattenAllCNAMEs apijson.Field
321
349
FoundationDNS apijson.Field
350
+ InternalDNS apijson.Field
322
351
MultiProvider apijson.Field
323
352
Nameservers apijson.Field
324
353
NSTTL apijson.Field
@@ -337,6 +366,29 @@ func (r settingGetResponseZoneDefaultsJSON) RawJSON() string {
337
366
return r .raw
338
367
}
339
368
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
+
340
392
// Settings determining the nameservers through which the zone should be available.
341
393
type SettingGetResponseZoneDefaultsNameservers struct {
342
394
// Nameserver type
@@ -458,6 +510,8 @@ type SettingEditParamsZoneDefaults struct {
458
510
FlattenAllCNAMEs param.Field [bool ] `json:"flatten_all_cnames"`
459
511
// Whether to enable Foundation DNS Advanced Nameservers on the zone.
460
512
FoundationDNS param.Field [bool ] `json:"foundation_dns"`
513
+ // Settings for this internal zone.
514
+ InternalDNS param.Field [SettingEditParamsZoneDefaultsInternalDNS ] `json:"internal_dns"`
461
515
// Whether to enable multi-provider DNS, which causes Cloudflare to activate the
462
516
// zone even when non-Cloudflare NS records exist, and to respect NS records at the
463
517
// zone apex during outbound zone transfers.
@@ -479,6 +533,16 @@ func (r SettingEditParamsZoneDefaults) MarshalJSON() (data []byte, err error) {
479
533
return apijson .MarshalRoot (r )
480
534
}
481
535
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
+
482
546
// Settings determining the nameservers through which the zone should be available.
483
547
type SettingEditParamsZoneDefaultsNameservers struct {
484
548
// Nameserver type
0 commit comments