githubEdit

Resolving DNS Resolution Failures in K8s

If you are experiencing DNS resolution failures on k8s pods, this can be resolved in two ways as below Enable scaling on coredns https://docs.aws.amazon.com/eks/latest/userguide/coredns-autoscaling.html Enable external DNS resolution on google dns server By default external DNS resolution goes through CoreDNS ==> AWS VPC DNS, if CoreDNS is flooded with DNS request, AWS VPC DNS will fail to resolve. EKS CoreDNS uses configMap to map dns configuration on CoreDNS pod update forward value to Google DNS and restart CoreDNS pod forward . 8.8.8.8 8.8.4.4 This will bypass AWS VPC DNS resolution and external DNS resolution will be resolved on Google DNS Please Note: We should not bypass AWS VPC DNS resolution if customer is using Private hosted zone

Last updated

Was this helpful?