Your company manages two separate Virtual Private Cloud (VPC) networks, `corp-app-vpc` and `corp-services-vpc`, within the same Google Cloud project. You have configured a Cloud DNS private zone named `internal.dev.example.com` that is currently visible only to resources in `corp-app-vpc`. Virtual machines deployed in `corp-services-vpc` need to resolve domain names hosted within this private zone without deploying custom DNS forwarding proxy instances. What should you do to allow `corp-services-vpc` to resolve records in `internal.dev.example.com`?
- Update the existing Cloud DNS private zone `internal.dev.example.com` to add `corp-services-vpc` to its list of authorized networks.Answer
- BEnable the Cloud DNS API within the subnet configuration settings of `corp-services-vpc` to allow cross-VPC API inheritance.
- CConfigure an Organization Policy at the project root level to automatically delegate DNS zone resolution inheritance down to all subnets.
- DDeploy a Network Passthrough Load Balancer in `corp-app-vpc` to load balance incoming DNS traffic from `corp-services-vpc`.
Answer
Update the existing Cloud DNS private zone `internal.dev.example.com` to add `corp-services-vpc` to its list of authorized networks.
In Google Cloud, a Cloud DNS private zone can be shared across multiple VPC networks in the same project or across projects. Adding `corp-services-vpc` to the list of authorized networks for the `internal.dev.example.com` private zone allows instances in `corp-services-vpc` to resolve private DNS records natively through Google Cloud's internal DNS service without deploying extra proxy infrastructure.
Step-by-Step Solution
Key Concept
Cloud DNS Private Zone Authorization across Multiple VPC Networks