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 v1beta1 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 \u003ccode\u003eDnsSettings.Types.GoogleDomainsDns\u003c/code\u003e class is part of the Cloud Domains v1beta1 API and is used for configuring the DNS settings for domain registrations using the free Google Domains DNS service.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various operations such as message handling, equality checks, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogleDomainsDns\u003c/code\u003e class provides methods for managing DNSSEC through the \u003ccode\u003eDsState\u003c/code\u003e property and managing \u003ccode\u003eDsRecords\u003c/code\u003e, but the DNS zone configuration itself is done through the Google Domains website.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes output-only properties such as \u003ccode\u003eNameServers\u003c/code\u003e and \u003ccode\u003eDsRecords\u003c/code\u003e which are automatically populated with information about the DNS zone and published DS records, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the API available, including 2.0.0-beta05 (latest), 2.0.0-beta04, and 1.0.0-beta04, which can be accessed through the provided links.\u003c/p\u003e\n"]]],[],null,["# Cloud Domains v1beta1 API - Class DnsSettings.Types.GoogleDomainsDns (2.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.DnsSettings.Types.GoogleDomainsDns)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/2.0.0-beta04/Google.Cloud.Domains.V1Beta1.DnsSettings.Types.GoogleDomainsDns)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/1.0.0-beta04/Google.Cloud.Domains.V1Beta1.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 v1beta1 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.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.DnsSettings)[Types](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.DnsSettings.Types)[GoogleDomainsDns](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.DnsSettings.Types.GoogleDomainsDns), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DnsSettings](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.DnsSettings)[Types](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.DnsSettings.Types)[GoogleDomainsDns](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.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.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.DnsSettings)[Types](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.DnsSettings.Types)[GoogleDomainsDns](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.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.V1Beta1](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Domains.V1Beta1.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."]]