How do I setup Route 53 Split View in such a way that if the query does not match any record in the private hosted zone, it gets forwarded to the public hosted zone.
This is how my current setup looks like:
Public Hosted Zone: example.com
- A Record: dev.example.com pointing to 8.8.8.8
Private Hosted Zone: example.com
- VPC is associated to the Private Hosted Zone.
When I query dev.example.com from an EC2 instance that is in the same VPC which is associated with PHZ, it does not resolve unless I put an A record in Private Hosted Zone as well.
How do I tell Route 53 to search Public Hosted Zone if there is no matching entry in Private Hosted Zone.