PodDnsConfigV1 Properties
Class Properties 3 members
Represents the DNS configuration for a Pod in Kubernetes.
Gets the list of IP addresses of DNS servers to be used by the Pod.
public List<string> Nameservers { get; }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.
Represents a list of DNS configuration options for a Pod in Kubernetes.
public List<PodDnsConfigOptionV1> Options { get; }Remarks
Each element in this collection defines a specific DNS configuration option, encapsulated in the
PodDnsConfigOptionV1 class. These options allow fine-tuning of DNS behaviors and settings for the Pod. Gets the list of DNS search domains used for name resolution in the Pod's DNS configuration.
public List<string> Searches { get; }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.