[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eDNSConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace, which is used for configuring cluster DNS in Google Kubernetes Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eDNSConfig\u003c/code\u003e is 3.33.0, with historical versions ranging from 3.32.0 down to 2.3.0, all of which are listed for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDNSConfig\u003c/code\u003e has several configurable properties, including \u003ccode\u003eAdditiveVpcScopeDnsDomain\u003c/code\u003e, \u003ccode\u003eClusterDns\u003c/code\u003e, \u003ccode\u003eClusterDnsDomain\u003c/code\u003e, and \u003ccode\u003eClusterDnsScope\u003c/code\u003e, allowing for detailed control over DNS settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDNSConfig\u003c/code\u003e class implements several interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage and inherits members from the base object class.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details about the constructors \u003ccode\u003eDNSConfig()\u003c/code\u003e and \u003ccode\u003eDNSConfig(DNSConfig)\u003c/code\u003e which enables the creation of new \u003ccode\u003eDNSConfig\u003c/code\u003e instances, and the copy-creation of another instance, respectively.\u003c/p\u003e\n"]]],[],null,["# Google Kubernetes Engine v1 API - Class DNSConfig (3.35.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.35.0 (latest)](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.DNSConfig)\n- [3.34.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.34.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.33.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.33.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.32.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.32.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.31.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.31.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.30.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.30.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.29.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.29.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.28.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.28.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.27.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.27.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.26.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.26.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.25.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.25.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.24.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.24.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.23.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.23.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.22.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.21.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.20.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.19.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.18.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.17.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.16.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.15.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.14.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.13.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.12.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.11.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.10.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.9.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.8.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.7.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.6.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.5.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.4.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.3.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.2.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.1.0/Google.Cloud.Container.V1.DNSConfig)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.0.0/Google.Cloud.Container.V1.DNSConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.7.0/Google.Cloud.Container.V1.DNSConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.6.0/Google.Cloud.Container.V1.DNSConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.5.0/Google.Cloud.Container.V1.DNSConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.4.0/Google.Cloud.Container.V1.DNSConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.3.0/Google.Cloud.Container.V1.DNSConfig) \n\n public sealed class DNSConfig : IMessage\u003cDNSConfig\u003e, IEquatable\u003cDNSConfig\u003e, IDeepCloneable\u003cDNSConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Kubernetes Engine v1 API class DNSConfig.\n\nDNSConfig contains the desired set of options for configuring clusterDNS. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DNSConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DNSConfig](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.DNSConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DNSConfig](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.DNSConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DNSConfig](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.DNSConfig), [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.Container.V1](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Container.V1.dll\n\nConstructors\n------------\n\n### DNSConfig()\n\n public DNSConfig()\n\n### DNSConfig(DNSConfig)\n\n public DNSConfig(DNSConfig other)\n\nProperties\n----------\n\n### AdditiveVpcScopeDnsDomain\n\n public string AdditiveVpcScopeDnsDomain { get; set; }\n\nOptional. The domain used in Additive VPC scope.\n\n### ClusterDns\n\n public DNSConfig.Types.Provider ClusterDns { get; set; }\n\ncluster_dns indicates which in-cluster DNS provider should be used.\n\n### ClusterDnsDomain\n\n public string ClusterDnsDomain { get; set; }\n\ncluster_dns_domain is the suffix used for all cluster service records.\n\n### ClusterDnsScope\n\n public DNSConfig.Types.DNSScope ClusterDnsScope { get; set; }\n\ncluster_dns_scope indicates the scope of access to cluster DNS records."]]