I have two AWS accounts. The master account with
example.com as a Hosted Zone, this then has a number of record sets (i.e. api.example.com and kibana.example.com).
A second account will be managing
testing.example.com as a Hosted Zone, with the same set of record sets (i.e. api.testing.example.com and kibana.testing.example.com).
How to I tell the master account to refer requests for
.testing.example.com down to the child account.
I don't want to change the master account as I want to use the same Cloud Formation templates in both 'Live' and 'Test'.
I've set the two up as above and it does not work (
api.testing.example.com does not resolve). I've also tried setting the testing.example.com ns record in the master account to the one specified in the child account(1). Alas this is not something I've done before and Google searches are not returning anything.
1) I messed this up, and this is the answer. See below.
*.example.comas the zone? I don't think you can have
*.example.comas a zone name, can you? Can you give us the actual FQDNs in play?
dig ns testing.example.comand confirm that the set of nameservers is that of the child account's zone. Then,
dig @one.of.those.nameservers api.testing.example.comand evaluate the output.