Route53 zone hosted on two accounts

0

A customer has two AWS accounts A and B. In account A they have a hosted zone in Route53 like www.mycompany.com

On account B they would like to have a hosted zone with the same sub domaine (mycompany.com) but with specific domaines relative to account B, for example dev.info.mycompany.com

They have impemented this however they don't get any answer back from nslookup

nslookup dev.info.mycompany.com

Server: 10.x.x.x

Address: 10.x.x.x#53

** server can't find dev.info.mycompany.com: NXDOMAIN

Is it possible to do this ?

AWS
asked 6 years ago2022 views
1 Answer
0
Accepted Answer

In this example, "mycompany.com" is a domain whose delegation has been sent to their "A" account hosted zone (the four R53 name servers assigned to that zone have been entered in the domain configuration). The hosted zone in "B" is not being referenced from anywhere, thus it is just existing out in the aether and not being used.

Your customer should decide on a specific subdomain for their "B" records to fall under (e.g. "dev.mycompany.com") and make a new hosted zone with that name. They would then take the four R53 name servers assigned to that zone and enter a delegation (NS record) in the parent zone on "A" with "dev.mycompany.com" as the name and the "B" name servers as the value.

See: "To create a new hosted zone and delegation set for your subdomain" https://aws.amazon.com/premiumsupport/knowledge-center/create-subdomain-route-53/

AWS
answered 6 years ago
profile picture
EXPERT
reviewed 10 months ago

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