Question

Difficulty: MediumMulti-Account and Hybrid DNS Architecture Strategy

A media streaming company manages a multi-account AWS environment connected to its on-premises data center via AWS Transit Gateway. The Shared Services account hosts a Route 53 Private Hosted Zone (PHZ) for `media.internal` associated with the Shared Services VPC. The company is deploying new application VPCs in separate member accounts. Resources in the application VPCs must resolve names in `media.internal` and also resolve domains hosted on-premises (`onprem.local`). How should a Solutions Architect design the DNS architecture to meet these requirements with the minimum administrative overhead?

  1. A
    Share the `media.internal` private hosted zone with the organization using AWS Resource Access Manager (RAM). Create a Route 53 Resolver outbound endpoint in the Shared Services VPC, configure a resolver rule for `onprem.local` pointing to the on-premises DNS servers, share this rule using RAM, and associate both the shared private hosted zone and the resolver rule with the application VPCs.
  2. B
    Authorize the cross-account association of the `media.internal` private hosted zone with the application VPCs from the Shared Services account, and then associate the VPCs. Route DNS queries for `onprem.local` over a Direct Connect Gateway using a private virtual interface (VIF) and configure static DNS routes in the Transit Gateway route tables.
  3. Authorize the cross-account association of the `media.internal` private hosted zone with the application VPCs from the Shared Services account, and then associate the VPCs. Create a Route 53 Resolver outbound endpoint in the Shared Services VPC, configure a resolver rule for `onprem.local` pointing to the on-premises DNS servers, share this rule using AWS Resource Access Manager (RAM), and associate it with the application VPCs.Answer
  4. D
    Recreate the `media.internal` private hosted zone in each member account. Create a Route 53 Resolver outbound endpoint in each application VPC, configure a resolver rule for `onprem.local` pointing to the on-premises DNS servers, and establish direct VPC Peering connections between all application VPCs and the Shared Services VPC.

Answer

Authorize the cross-account association of the `media.internal` private hosted zone with the application VPCs from the Shared Services account, and then associate the VPCs. Create a Route 53 Resolver outbound endpoint in the Shared Services VPC, configure a resolver rule for `onprem.local` pointing to the on-premises DNS servers, share this rule using AWS Resource Access Manager (RAM), and associate it with the application VPCs.
The correct answer provides a hybrid DNS design that addresses both private hosted zone resolution and on-premises resolution with minimal endpoints. First, to allow cross-account VPCs to resolve the private hosted zone `media.internal`, cross-account association must be authorized from the owner account and then accepted from the consumer accounts. Second, a centralized Route 53 Resolver outbound endpoint is created in the Shared Services VPC. A forwarding rule for the on-premises domain is created, pointing to the on-premises DNS IPs. This forwarding rule is shared via AWS RAM with the other member accounts in the AWS Organization. Once associated with the application VPCs, resources in those VPCs can route their DNS queries through the centralized outbound endpoint, avoiding the cost and overhead of provisioning endpoints in every VPC.

Step-by-Step Solution

1
Authorize the cross-account VPC association for the private hosted zone.
The application VPCs in the member accounts are authorized to associate with the private hosted zone owned by the Shared Services account.
Route 53 Private Hosted Zones cannot be shared via AWS RAM; cross-account association authorization is required.
2
Associate the application VPCs with the private hosted zone from the member accounts.
Resources in the application VPCs can now resolve DNS records within the `media.internal` domain.
Completes the cross-account DNS resolution setup for the private AWS domain.
3
Create a Route 53 Resolver outbound endpoint in the Shared Services VPC and a forwarding rule for `onprem.local` pointing to the on-premises DNS servers.
A centralized outbound resolver path is established.
Directs DNS queries for on-premises domains from AWS to the on-premises DNS servers over the Transit Gateway connection.
4
Share the forwarding rule using AWS Resource Access Manager (RAM) and associate it with the application VPCs.
The application VPCs in member accounts can resolve `onprem.local` domains without needing local outbound endpoints.
Minimizes cost and administrative overhead by using a single outbound resolver endpoint.

Key Concept

Centralized hybrid and multi-account DNS resolution using Route 53 Resolver endpoints, forwarding rules shared via RAM, and cross-account Private Hosted Zone association.
Estimated Time:2m 30s
Rate this question