public sealed class ConfigureDnsSettingsRequest : IMessage<ConfigureDnsSettingsRequest>, IEquatable<ConfigureDnsSettingsRequest>, IDeepCloneable<ConfigureDnsSettingsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Domains v1 API class ConfigureDnsSettingsRequest.
Required. The field mask describing which fields to update as a comma-separated list.
For example, if only the name servers are being updated for an existing
Custom DNS configuration, the update_mask is
"custom_dns.name_servers".
When changing the DNS provider from one type to another, pass the new
provider's field name as part of the field mask. For example, when changing
from a Google Domains DNS configuration to a Custom DNS configuration, the
update_mask is "custom_dns". //
[[["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\u003eConfigureDnsSettingsRequest\u003c/code\u003e class is used to update DNS settings for a domain registration, part of the Cloud Domains v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for updating DNS settings, specifying which fields to update with a \u003ccode\u003eFieldMask\u003c/code\u003e, and validating the request before applying changes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConfigureDnsSettingsRequest\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Domains.V1\u003c/code\u003e namespace and is available in versions ranging from 1.0.0 to 2.4.0 (latest).\u003c/p\u003e\n"],["\u003cp\u003eIt also implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for functionality.\u003c/p\u003e\n"],["\u003cp\u003eYou can update \u003ccode\u003eDnsSettings\u003c/code\u003e of a \u003ccode\u003eRegistration\u003c/code\u003e object by referring to the object by name, in the format \u003ccode\u003eprojects/*/locations/*/registrations/*\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Domains v1 API - Class ConfigureDnsSettingsRequest (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.ConfigureDnsSettingsRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.3.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.2.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.1.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.0.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/1.0.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest) \n\n public sealed class ConfigureDnsSettingsRequest : IMessage\u003cConfigureDnsSettingsRequest\u003e, IEquatable\u003cConfigureDnsSettingsRequest\u003e, IDeepCloneable\u003cConfigureDnsSettingsRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Domains v1 API class ConfigureDnsSettingsRequest.\n\nRequest for the `ConfigureDnsSettings` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ConfigureDnsSettingsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ConfigureDnsSettingsRequest](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConfigureDnsSettingsRequest](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ConfigureDnsSettingsRequest](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest), [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### ConfigureDnsSettingsRequest()\n\n public ConfigureDnsSettingsRequest()\n\n### ConfigureDnsSettingsRequest(ConfigureDnsSettingsRequest)\n\n public ConfigureDnsSettingsRequest(ConfigureDnsSettingsRequest other)\n\nProperties\n----------\n\n### DnsSettings\n\n public DnsSettings DnsSettings { get; set; }\n\nFields of the `DnsSettings` to update.\n\n### Registration\n\n public string Registration { get; set; }\n\nRequired. The name of the `Registration` whose DNS settings are being updated,\nin the format `projects/*/locations/*/registrations/*`.\n\n### RegistrationAsRegistrationName\n\n public RegistrationName RegistrationAsRegistrationName { get; set; }\n\n[RegistrationName](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.RegistrationName)-typed view over the [Registration](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest#Google_Cloud_Domains_V1_ConfigureDnsSettingsRequest_Registration) resource name property.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. The field mask describing which fields to update as a comma-separated list.\nFor example, if only the name servers are being updated for an existing\nCustom DNS configuration, the `update_mask` is\n`\"custom_dns.name_servers\"`.\n\nWhen changing the DNS provider from one type to another, pass the new\nprovider's field name as part of the field mask. For example, when changing\nfrom a Google Domains DNS configuration to a Custom DNS configuration, the\n`update_mask` is `\"custom_dns\"`. //\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nValidate the request without actually updating the DNS settings."]]