selectively override name records in a public domain via private hosted zone

18 Views Asked by At

If I wanted to override a single name record for a public domain I do not manage but still resolve other records in that domain, how would I achieve that?

For instance photos.google.com & maps.google.com. In my vpc if I wanted to allow ec2 to resolve photos.google.com correctly, but I wanted calls to maps.google.com to resolve to an IP local to my vpc, is that possible via Route53?

I know I could create a private hosted zone "google.com" associate it and then create a record for maps.google.com that points to my custom endpoint, but then calls to photos.google.com would fail with NXDOMAIN.

0

There are 0 best solutions below