Share via


LocalDNSProfile interface

Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.

Properties

kubeDNSOverrides

KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).

mode

Mode of enablement for localDNS.

state

System-generated state of localDNS.

vnetDNSOverrides

VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).

Property Details

kubeDNSOverrides

KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).

kubeDNSOverrides?: Record<string, LocalDNSOverride>

Property Value

Record<string, LocalDNSOverride>

mode

Mode of enablement for localDNS.

mode?: string

Property Value

string

state

System-generated state of localDNS.

state?: string

Property Value

string

vnetDNSOverrides

VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).

vnetDNSOverrides?: Record<string, LocalDNSOverride>

Property Value

Record<string, LocalDNSOverride>