Score:0

How do I delegate a DNS zone in Route53 to BIND on an EC2 Instance

cn flag

Unless I am asking the question incorrectly or using the incorrect terminology, there seems to be no information on how to setup Route53 to delegate a DNS zone to an EC2 instance. Or maybe it's just impossible?

The use case is simple. Due to very specific requirements I must host a private DNS zone with BIND on an EC2 instance. However I would like all the other stuff in my VPC to resolve hostnames in that zone while still using the VPC's default resolver.

I tried looking at the "Resolver Rules" section. When I select the forward option I can add a domain name and IP address, but it also needs an Outbound endpoint. When I go to create an Outbound endpoint It says:

An outbound endpoint contains the information that Resolver needs to route DNS queries to your network from your VPCs

That's not what I am doing. The DNS queries are going to remain in the same VPC.

Worst case is I spin up my own DNS resolver cluster on EC2 and disregard Route53 completely, but that seems like overkill.

Tuaris avatar
cn flag
I went ahead and tried adding the outbound endpoint and used that in the forward rule. It 'works', but is this the correct way to do it?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.