2.5.0 (latest) 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class DnsSettings.Types.GoogleDomainsDns : IMessage<DnsSettings.Types.GoogleDomainsDns>, IEquatable<DnsSettings.Types.GoogleDomainsDns>, IDeepCloneable<DnsSettings.Types.GoogleDomainsDns>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Domains v1 API class DnsSettings.Types.GoogleDomainsDns.

Configuration for using the free DNS zone provided by Google Domains as a
`Registration`'s `dns_provider`. You cannot configure the DNS zone itself
using the API. To configure the DNS zone, go to
[Google Domains](https://domains.google/).

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DnsSettings.Types.GoogleDomainsDns

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DnsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.md.txt)[GoogleDomainsDns](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DnsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.md.txt)[GoogleDomainsDns](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DnsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.md.txt)[GoogleDomainsDns](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Domains.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.md.txt)

## Assembly

Google.Cloud.Domains.V1.dll

## Constructors

### GoogleDomainsDns()

    public GoogleDomainsDns()

### GoogleDomainsDns(GoogleDomainsDns)

    public GoogleDomainsDns(DnsSettings.Types.GoogleDomainsDns other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DnsSettingsTypesGoogleDomainsDns` |

## Properties

### DsRecords

    public RepeatedField<DnsSettings.Types.DsRecord> DsRecords { get; }

Output only. The list of DS records published for this domain. The list is
automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
otherwise it remains empty.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldDnsSettingsTypesDsRecord` |   |

### DsState

    public DnsSettings.Types.DsState DsState { get; set; }

Required. The state of DS records for this domain. Used to enable or disable
automatic DNSSEC.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DnsSettingsTypesDsState` |   |

### NameServers

    public RepeatedField<string> NameServers { get; }

Output only. A list of name servers that store the DNS zone for this domain. Each name
server is a domain name, with Unicode domain names expressed in
Punycode format. This field is automatically populated with the name
servers assigned to the Google Domains DNS zone.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |