Share via


PodDnsConfigV1.Searches Property

Definition

Gets the list of DNS search domains used for name resolution in the Pod's DNS configuration.

[YamlDotNet.Serialization.YamlMember(Alias="searches")]
public System.Collections.Generic.List<string> Searches { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="searches")>]
member this.Searches : System.Collections.Generic.List<string>
Public ReadOnly Property Searches As List(Of String)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The Searches property specifies the DNS search domains that are appended to unqualified domain names to attempt to resolve them. This is a key part of DNS resolution behavior in a Kubernetes Pod and helps to define how the Pod resolves DNS queries for host names that are not fully qualified.

Applies to