---
title: Settings
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[DNS](https://developers.cloudflare.com/api/go/resources/dns)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Settings

#### SettingsZone

##### [Show DNS Settings](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/zone/methods/get)

client.DNS.Settings.Zone.Get(ctx, query) (\*[SettingZoneGetResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.zone%20%3E%20(model)%20SettingZoneGetResponse%20%3E%20(schema)>), error)

GET/zones/{zone\_id}/dns\_settings

##### [Update DNS Settings](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/zone/methods/edit)

client.DNS.Settings.Zone.Edit(ctx, params) (\*[SettingZoneEditResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.zone%20%3E%20(model)%20SettingZoneEditResponse%20%3E%20(schema)>), error)

PATCH/zones/{zone\_id}/dns\_settings

#### SettingsAccount

##### [Show DNS Settings](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/methods/get)

client.DNS.Settings.Account.Get(ctx, query) (\*[SettingAccountGetResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account%20%3E%20(model)%20SettingAccountGetResponse%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/dns\_settings

##### [Update DNS Settings](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/methods/edit)

client.DNS.Settings.Account.Edit(ctx, params) (\*[SettingAccountEditResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account%20%3E%20(model)%20SettingAccountEditResponse%20%3E%20(schema)>), error)

PATCH/accounts/{account\_id}/dns\_settings

#### SettingsAccountNameserver Sets

##### [List Custom Nameserver Sets](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/subresources/nameserver_sets/methods/list)

client.DNS.Settings.Account.NameserverSets.List(ctx, params) (\*V4PagePaginationArray\[[SettingAccountNameserverSetListResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account.nameserver_sets%20%3E%20(model)%20SettingAccountNameserverSetListResponse%20%3E%20(schema)>)], error)

GET/accounts/{account\_id}/dns\_settings/nameserver\_sets

##### [Get Custom Nameserver Set](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/subresources/nameserver_sets/methods/get)

client.DNS.Settings.Account.NameserverSets.Get(ctx, nameserverSetID, query) (\*[SettingAccountNameserverSetGetResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account.nameserver_sets%20%3E%20(model)%20SettingAccountNameserverSetGetResponse%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/dns\_settings/nameserver\_sets/{nameserver\_set\_id}

##### [Create Custom Nameserver Set](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/subresources/nameserver_sets/methods/create)

client.DNS.Settings.Account.NameserverSets.New(ctx, params) (\*[SettingAccountNameserverSetNewResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account.nameserver_sets%20%3E%20(model)%20SettingAccountNameserverSetNewResponse%20%3E%20(schema)>), error)

POST/accounts/{account\_id}/dns\_settings/nameserver\_sets

##### [Delete Custom Nameserver Set](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/subresources/nameserver_sets/methods/delete)

client.DNS.Settings.Account.NameserverSets.Delete(ctx, nameserverSetID, body) (\*[SettingAccountNameserverSetDeleteResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account.nameserver_sets%20%3E%20(model)%20SettingAccountNameserverSetDeleteResponse%20%3E%20(schema)>), error)

DELETE/accounts/{account\_id}/dns\_settings/nameserver\_sets/{nameserver\_set\_id}

#### SettingsAccountViews

##### [List Internal DNS Views](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/subresources/views/methods/list)

client.DNS.Settings.Account.Views.List(ctx, params) (\*V4PagePaginationArray\[[SettingAccountViewListResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account.views%20%3E%20(model)%20SettingAccountViewListResponse%20%3E%20(schema)>)], error)

GET/accounts/{account\_id}/dns\_settings/views

##### [DNS Internal View Details](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/subresources/views/methods/get)

client.DNS.Settings.Account.Views.Get(ctx, viewID, query) (\*[SettingAccountViewGetResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account.views%20%3E%20(model)%20SettingAccountViewGetResponse%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/dns\_settings/views/{view\_id}

##### [Create Internal DNS View](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/subresources/views/methods/create)

client.DNS.Settings.Account.Views.New(ctx, params) (\*[SettingAccountViewNewResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account.views%20%3E%20(model)%20SettingAccountViewNewResponse%20%3E%20(schema)>), error)

POST/accounts/{account\_id}/dns\_settings/views

##### [Update Internal DNS View](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/subresources/views/methods/edit)

client.DNS.Settings.Account.Views.Edit(ctx, viewID, params) (\*[SettingAccountViewEditResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account.views%20%3E%20(model)%20SettingAccountViewEditResponse%20%3E%20(schema)>), error)

PATCH/accounts/{account\_id}/dns\_settings/views/{view\_id}

##### [Delete Internal DNS View](https://developers.cloudflare.com/api/go/resources/dns/subresources/settings/subresources/account/subresources/views/methods/delete)

client.DNS.Settings.Account.Views.Delete(ctx, viewID, body) (\*[SettingAccountViewDeleteResponse](<https://developers.cloudflare.com/api/go/resources/dns#(resource)%20dns.settings.account.views%20%3E%20(model)%20SettingAccountViewDeleteResponse%20%3E%20(schema)>), error)

DELETE/accounts/{account\_id}/dns\_settings/views/{view\_id}