Soru

Zorluk: ZorDeploying Cloud Load Balancers and Configuring Cloud DNS

An organization is establishing hybrid connectivity between their Google Cloud environment and their on-premises data center using Cloud VPN. Compute Engine instances located in a Virtual Private Cloud (VPC) named `prod-vpc` need to resolve domain names under the custom corporate domain `internal.example.com`, which are managed by an on-premises authoritative DNS server at IP address `192.168.1.50`. Which action should you take in Cloud DNS to enable internal name resolution for these on-premises hosts from `prod-vpc`?

  1. Create a Cloud DNS forwarding zone for the domain `internal.example.com`, specify the DNS server IP `192.168.1.50` as the target DNS server, and set `prod-vpc` as the authorized network.Cevap
  2. B
    Enable the Cloud DNS API inside the host project hosting the VPN gateway and configure an Inbound DNS Policy on `prod-vpc` pointing to IP `192.168.1.50`.
  3. C
    Create a public Cloud DNS zone for `internal.example.com` at the GCP Organization level and apply an IAM boundary policy to block Internet access.
  4. D
    Deploy an Internal Regional Application Load Balancer with a backend service pointing to `192.168.1.50` on UDP port 53 and map `internal.example.com` to the load balancer forwarding rule IP.

Cevap

Create a Cloud DNS forwarding zone for the domain internal.example.com, specify the DNS server IP 192.168.1.50 as the target DNS server, and set prod-vpc as the authorized network.
To allow Compute Engine instances in a GCP VPC to resolve domain names hosted on an on-premises DNS server, you create a Cloud DNS private zone configured for DNS forwarding (an outbound forwarding zone). By setting the target domain to `internal.example.com`, specifying the destination on-premises DNS server IP `192.168.1.50`, and authorizing `prod-vpc`, Cloud DNS proxies all incoming queries for that domain from the VPC across the Cloud VPN tunnel.

Adım Adım Çözüm

1
Identify the hybrid DNS resolution direction
GCP workloads in `prod-vpc` need to resolve names hosted on an on-premises DNS server (`outbound` DNS query path).
Traffic originates inside GCP and targets external DNS infrastructure.
2
Select the appropriate Cloud DNS resource type
A Cloud DNS Private Forwarding Zone is required.
Forwarding zones allow Cloud DNS to act as a DNS proxy and delegate specific domain queries to specified target IP addresses over VPN or Interconnect.
3
Configure zone parameters and network authorization
Set target server IP to `192.168.1.50` and authorize `prod-vpc`.
Authorizing `prod-vpc` ensures instances within the VPC use Cloud DNS to forward matching `.internal.example.com` queries to the on-premises DNS server.

Anahtar Kavram

Cloud DNS Outbound Forwarding Zones
Tahmini Süre:2m 0s
Bu soruyu puanla