How does externaldns talk to route53 API to update records if I'm using private EKS with no internet connection

0

Hello everyone,

Could you please explain how the external-dns (github.com/kubernetes-sigs/external-dns) can communicate with the route 53 API to update records in the case of a private EKS cluster without internet connectivity? AFAIK, there is no VPC endpoint for route 53, how then does external-dns reach the route 53 API?

Thanks, CloudUser

2 個答案
2
已接受的答案

In reply to your comment, the external-dns component would call the Route 53 public API just as other tools, such as the AWS console or IAC tools like Terraform and would require credentials (either API key or a role on the EC2 instances with permissions to make Route 53 calls).

If you are running this on an EKS cluster that does not have internet access, it would not work. You could provide outbound only access via a NAT Gateway.

Hope this helps.

profile pictureAWS
專家
iBehr
已回答 25 天前
profile picture
專家
已審閱 25 天前
  • This is absolutely my understanding..I just went through a dozen of documentations, AWS included, and there is no mention to the internet connectivity requirement..I also asked AWS to update their documentation to add this as a limitation...still waiting :)

    Thank you again @iBehr

0

External DNS can make queries based on the NS records in the Hosted Zone. You need to setup your existing DNS provider to forward to Route 53 servers by adding the NS records to your base domain. This article walks you through the process.

For queries from the EKS cluster in your VPC, there is a resolver (VPC CIDR + 2 IP address) which is the default DNS server for all EC2 instances (VPC resources). It can answer DNS queries based on any Route 53 Hosted Zone that is associated to the VPC or will forward other requests to the internet for resolution.

If you have more specific question, please ask. Hope this helps.

profile pictureAWS
專家
iBehr
已回答 25 天前
profile picture
專家
已審閱 25 天前
  • Thank you @iBehr for your answer. My question is more about the external-dns kube component (github.com/kubernetes-sigs/external-dns) and how it updates diffrents route 53 records.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南