PodDnsConfigV1.Nameservers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the list of IP addresses of DNS servers to be used by the Pod.
[YamlDotNet.Serialization.YamlMember(Alias="nameservers")]
public System.Collections.Generic.List<string> Nameservers { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="nameservers")>]
member this.Nameservers : System.Collections.Generic.List<string>
Public ReadOnly Property Nameservers As List(Of String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
This property defines the nameservers for the Pod's DNS configuration. If specified, these nameservers replace the default nameservers provided by the Kubernetes cluster's DNS configuration.