An enterprise is establishing hybrid connectivity between an on-premises data center and a Google Cloud Virtual Private Cloud (VPC) network via Cloud Interconnect. Compute Engine virtual machines deployed in the VPC must resolve hostnames in the internal domain internal.company.com, which are managed by on-premises DNS servers. The architecture requires DNS queries for internal.company.com originating from VPC workloads to be routed to the on-premises DNS servers without exposing internal domain data to the public internet. Which Cloud DNS configuration should you plan to meet these requirements?
- Create a Cloud DNS private zone for internal.company.com configured for DNS forwarding, specifying the on-premises DNS server IP addresses as forwarding targets.Answer
- BCreate a Cloud DNS public zone for internal.company.com containing NS records that point to the public IP addresses of the on-premises DNS servers.
- CDeploy an External HTTP(S) Load Balancer configured with backend service endpoints pointing to the on-premises DNS server IP addresses over TCP port 53.
- DCreate a Cloud DNS private zone for internal.company.com and enable Cloud CDN caching to cache DNS query responses locally within the VPC.
Answer
Create a Cloud DNS private zone for internal.company.com configured for DNS forwarding, specifying the on-premises DNS server IP addresses as forwarding targets.
Configuring a Cloud DNS private zone with DNS outbound forwarding allows Virtual Private Cloud (VPC) instances to forward domain lookup requests for internal.company.com directly to specified on-premises DNS server IP addresses over private network connections (such as Cloud Interconnect or Cloud VPN). This meets all requirements for private, secure, and seamless hybrid name resolution.
Step-by-Step Solution
Key Concept
Cloud DNS Private Zone Forwarding for Hybrid Architecture