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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eDnsSettings.Types.GoogleDomainsDns\u003c/code\u003e class is 2.4.0, which is part of the Google Cloud Domains v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class configures the free DNS zone provided by Google Domains for a \u003ccode\u003eRegistration\u003c/code\u003e, but users must use the Google Domains interface for zone configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogleDomainsDns\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and data integrity.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eDsRecords\u003c/code\u003e (list of published DS records), \u003ccode\u003eDsState\u003c/code\u003e (state of DS records), and \u003ccode\u003eNameServers\u003c/code\u003e (list of name servers for the domain's DNS zone), which are crucial for managing DNSSEC and domain name resolution.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple previous versions of the \u003ccode\u003eDnsSettings.Types.GoogleDomainsDns\u003c/code\u003e class available, including versions 2.3.0, 2.2.0, 2.1.0, 2.0.0, and 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Domains v1 API - Class DnsSettings.Types.GoogleDomainsDns (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.3.0/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.2.0/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.1.0/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.0.0/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/1.0.0/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns) \n\n public sealed class DnsSettings.Types.GoogleDomainsDns : IMessage\u003cDnsSettings.Types.GoogleDomainsDns\u003e, IEquatable\u003cDnsSettings.Types.GoogleDomainsDns\u003e, IDeepCloneable\u003cDnsSettings.Types.GoogleDomainsDns\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Domains v1 API class DnsSettings.Types.GoogleDomainsDns.\n\nConfiguration for using the free DNS zone provided by Google Domains as a\n`Registration`'s `dns_provider`. You cannot configure the DNS zone itself\nusing the API. To configure the DNS zone, go to\n[Google Domains](https://domains.google/). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DnsSettings.Types.GoogleDomainsDns \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DnsSettings](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings)[Types](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types)[GoogleDomainsDns](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DnsSettings](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings)[Types](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types)[GoogleDomainsDns](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DnsSettings](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings)[Types](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types)[GoogleDomainsDns](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.DnsSettings.Types.GoogleDomainsDns), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Domains.V1](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Domains.V1.dll\n\nConstructors\n------------\n\n### GoogleDomainsDns()\n\n public GoogleDomainsDns()\n\n### GoogleDomainsDns(GoogleDomainsDns)\n\n public GoogleDomainsDns(DnsSettings.Types.GoogleDomainsDns other)\n\nProperties\n----------\n\n### DsRecords\n\n public RepeatedField\u003cDnsSettings.Types.DsRecord\u003e DsRecords { get; }\n\nOutput only. The list of DS records published for this domain. The list is\nautomatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,\notherwise it remains empty.\n\n### DsState\n\n public DnsSettings.Types.DsState DsState { get; set; }\n\nRequired. The state of DS records for this domain. Used to enable or disable\nautomatic DNSSEC.\n\n### NameServers\n\n public RepeatedField\u003cstring\u003e NameServers { get; }\n\nOutput only. A list of name servers that store the DNS zone for this domain. Each name\nserver is a domain name, with Unicode domain names expressed in\nPunycode format. This field is automatically populated with the name\nservers assigned to the Google Domains DNS zone."]]