# Cloud Domains V1 API - Class Google::Cloud::Domains::V1::DnsSettings (v1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Domains V1 API class Google::Cloud::Domains::V1::DnsSettings.

Defines the DNS configuration of a `Registration`, including name servers,
DNSSEC, and glue records.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #custom_dns

    def custom_dns() -> ::Google::Cloud::Domains::V1::DnsSettings::CustomDns

**Returns**

- ([::Google::Cloud::Domains::V1::DnsSettings::CustomDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-CustomDns)) --- An arbitrary DNS provider identified by its name servers.


  Note: The following fields are mutually exclusive: `custom_dns`, `google_domains_dns`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #custom_dns=

    def custom_dns=(value) -> ::Google::Cloud::Domains::V1::DnsSettings::CustomDns

**Parameter**

- **value** ([::Google::Cloud::Domains::V1::DnsSettings::CustomDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-CustomDns)) --- An arbitrary DNS provider identified by its name servers.


  Note: The following fields are mutually exclusive: `custom_dns`, `google_domains_dns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Domains::V1::DnsSettings::CustomDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-CustomDns)) --- An arbitrary DNS provider identified by its name servers.


  Note: The following fields are mutually exclusive: `custom_dns`, `google_domains_dns`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #glue_records

    def glue_records() -> ::Array<::Google::Cloud::Domains::V1::DnsSettings::GlueRecord>

**Returns**

- (::Array\<[::Google::Cloud::Domains::V1::DnsSettings::GlueRecord](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-GlueRecord)\>) --- The list of glue records for this `Registration`. Commonly empty.

### #glue_records=

    def glue_records=(value) -> ::Array<::Google::Cloud::Domains::V1::DnsSettings::GlueRecord>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Domains::V1::DnsSettings::GlueRecord](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-GlueRecord)\>) --- The list of glue records for this `Registration`. Commonly empty.
**Returns**

- (::Array\<[::Google::Cloud::Domains::V1::DnsSettings::GlueRecord](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-GlueRecord)\>) --- The list of glue records for this `Registration`. Commonly empty.

### #google_domains_dns

    def google_domains_dns() -> ::Google::Cloud::Domains::V1::DnsSettings::GoogleDomainsDns

**Returns**

- ([::Google::Cloud::Domains::V1::DnsSettings::GoogleDomainsDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-GoogleDomainsDns)) --- The free DNS zone provided by [Google Domains](https://domains.google/).


  Note: The following fields are mutually exclusive: `google_domains_dns`, `custom_dns`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #google_domains_dns=

    def google_domains_dns=(value) -> ::Google::Cloud::Domains::V1::DnsSettings::GoogleDomainsDns

**Parameter**

- **value** ([::Google::Cloud::Domains::V1::DnsSettings::GoogleDomainsDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-GoogleDomainsDns)) --- The free DNS zone provided by [Google Domains](https://domains.google/).


  Note: The following fields are mutually exclusive: `google_domains_dns`, `custom_dns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Domains::V1::DnsSettings::GoogleDomainsDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-GoogleDomainsDns)) --- The free DNS zone provided by [Google Domains](https://domains.google/).


  Note: The following fields are mutually exclusive: `google_domains_dns`, `custom_dns`. If a field in that set is populated, all other fields in the set will automatically be cleared.