This topic offers an example showing how to use Google Cloud DNS to configure
a DNS zone with a record set that points to your Apigee hybrid ingress IP address (typically this address
will be a static IP that you previously configured during the hybrid installation.)
Get a registered domain
You can register a domain
name through Google Domains or another
domain registrar of your choice.
Create a managed zone and record set
This section explains how to create a DNS zone and record set in Google Cloud DNS.
Create a managed zone and record set for your domain. This is the address you will use
to make API proxy calls to hybrid.
Create a new record set with the following selections. For instructions, see
Create a new record.
DNS Name: The name of the endpoint external API calls communicate with, like
api-services or example-endpoint
Resource Record Type: A
TTL and TTL Unit: Accept defaults
IP Address: The static IP you created
In the Zone details view, copy the DNS name of the A record
you just created and save it to a DOMAIN environment variable. Be
careful to not include the period at the end.
export DOMAIN=dns_name_of_record
Add your DNS servers to Cloud DNS
In this step, you copy the DNS servers from your domain to Google Cloud DNS.
Doing so allows Google Cloud to manage the DNS for your Google Cloud Project.
The Zone details view lists four DNS servers as the NS data for your new
zone. Copy the DNS record data as shown in the following example:
Configure your domain to use the Google Cloud name servers
Go to your domain registrar and edit your domain's DNS settings to use the Google Cloud Name servers.
The following screenshot shows an example of entering the Google Cloud name servers in Google Domains:
Google Cloud DNS now manages the DNS records for your domain.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-10 UTC."],[[["This documentation pertains to Apigee hybrid version 1.5, which is now end-of-life and requires an upgrade to a newer version."],["The guide demonstrates setting up a DNS zone using Google Cloud DNS, pointing to the Apigee hybrid ingress's static IP address."],["If you possess a pre-existing domain and DNS zone, there is no need to follow these steps, you can configure your zone to include a record set pointing towards your ingress load balancer."],["The process involves registering a domain, creating a managed zone and record set in Google Cloud DNS, and directing your domain's name servers to utilize Google Cloud."],["By setting the DNS record to point towards your static IP and setting your domain's DNS to point to google cloud DNS, you are allowing google cloud to manage the DNS for your Google Cloud Project."]]],[]]