# Cloud Domains V1beta1 API - Class Google::Cloud::Domains::V1beta1::DnsSettings (v0.16.0)

0.16.0 (latest) 0.15.1 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.1 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.2 Reference documentation and code samples for the Cloud Domains V1beta1 API class Google::Cloud::Domains::V1beta1::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::V1beta1::DnsSettings::CustomDns

**Returns**

- ([::Google::Cloud::Domains::V1beta1::DnsSettings::CustomDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-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::V1beta1::DnsSettings::CustomDns

**Parameter**

- **value** ([::Google::Cloud::Domains::V1beta1::DnsSettings::CustomDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-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::V1beta1::DnsSettings::CustomDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-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::V1beta1::DnsSettings::GlueRecord>

**Returns**

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

### #glue_records=

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

**Parameter**

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

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

### #google_domains_dns

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

**Returns**

- ([::Google::Cloud::Domains::V1beta1::DnsSettings::GoogleDomainsDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-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::V1beta1::DnsSettings::GoogleDomainsDns

**Parameter**

- **value** ([::Google::Cloud::Domains::V1beta1::DnsSettings::GoogleDomainsDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-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::V1beta1::DnsSettings::GoogleDomainsDns](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-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.