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 Answers
2
Accepted Answer

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
EXPERT
iBehr
answered 11 days ago
profile picture
EXPERT
reviewed 11 days ago
  • 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
EXPERT
iBehr
answered 11 days ago
profile picture
EXPERT
reviewed 11 days ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions