Skip to content

dnsConfig

Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Configuring the ndots option may resolve nslookup issues on some Kubernetes setups.

object

PropertyTypeRequiredDefaultDescription
nameserversarrayNo-A list of DNS name server IP addresses. This will be appe…
optionsarrayNo-A list of DNS resolver options. This will be merged with …
searchesarrayNo-A list of DNS search domains for host-name lookup. This w…

A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.

A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.

A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.