Domainnamen können über Google Domains oder einen beliebigen anderen Registrator registriert werden.
Verwaltete Zone und Datensatz erstellen
In diesem Abschnitt wird erläutert, wie Sie eine DNS-Zone und einen Datensatz in Google Cloud DNS erstellen.
Erstellen Sie eine verwaltete Zone und einen Datensatz für Ihre Domain. Dies ist die Adresse, mit der Sie API-Proxy-Aufrufe an Hybridanbieter ausführen.
Erstellen Sie einen neuen Datensatz mit folgenden Optionen. Eine Anleitung hierzu finden Sie unter Neuen Eintrag erstellen.
DNS-Name: Der Name des Endpunkts, in dem API-Aufrufe über externe Endpunkte kommunizieren, z. B.
api-services oder example-endpoint.
Resource Record Type: (Ressourceneintragstyp): A
TTL und TTL-Einheit: Übernehmen Sie die Standardeinstellungen.
IP-Adresse: Die von Ihnen erstellte statische IP-Adresse.
Kopieren Sie in der Ansicht Zonendetails den DNS-Namen des eben erstellten A-Eintrags und speichern Sie ihn in einer Umgebungsvariablen DOMAIN. Achten Sie darauf, keinen Punkt am Ende einzufügen.
export DOMAIN=dns_name_of_record
DNS-Server zu Cloud DNS hinzufügen
In diesem Schritt kopieren Sie die DNS-Server aus Ihrer Domain in Google Cloud DNS.
Auf diese Weise kann Google Cloud das DNS für Ihr Google Cloud-Projekt verwalten.
In der Ansicht Zonendetails werden vier DNS-Server als die NS-Daten für Ihre neue Zone aufgelistet. Kopieren Sie die DNS-Eintragsdaten, wie im folgenden Beispiel gezeigt:
Domain für die Verwendung der Google Cloud-Nameserver konfigurieren
Wechseln Sie zu Ihrem Domain-Registrator und bearbeiten Sie die DNS-Einstellungen Ihrer Domain, um die Google Cloud-Nameserver zu verwenden.
Folgender Screenshot zeigt ein Beispiel für die Eingabe der Google Cloud-Nameserver in Google Domains:
Die DNS-Einträge für Ihre Domain werden nun von Google Cloud DNS verwaltet.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-03 (UTC)."],[[["\u003cp\u003eThis documentation version (1.3) for Apigee hybrid is end-of-life and an upgrade to a newer version is required.\u003c/p\u003e\n"],["\u003cp\u003eThis guide provides instructions on setting up a DNS zone and record set with Google Cloud DNS, pointing to your Apigee hybrid ingress IP address.\u003c/p\u003e\n"],["\u003cp\u003eYou can either use your existing domain and DNS zone or register a new one via a registrar like Google Domains.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves creating a managed public zone and a new record set of type "A" with your static IP address, enabling external API calls.\u003c/p\u003e\n"],["\u003cp\u003eYou must configure your domain registrar to utilize the provided Google Cloud name servers, allowing Google Cloud DNS to manage the DNS for your domain.\u003c/p\u003e\n"]]],[],null,["# DNS setup quickstart\n\n| You are currently viewing version 1.3 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\n\nThis topic offers an example showing how to use [Google Cloud DNS](https://cloud.google.com/dns) to configure\na DNS zone with a record set that points to your Apigee hybrid ingress IP address (typically this address\nwill be a [static IP that you previously configured](/apigee/docs/hybrid/v1.3/precog-add-dns#reserve-a-static-ip) during the hybrid installation.)\n| **Note:** If you already have your own domain and DNS zone to use, you do not need to do these steps. You can simply configure your own zone with a new record set pointing to your ingress load balancer, as described in [Step 5: Configure your DNS](/apigee/docs/hybrid/v1.3/precog-add-dns).\n\nGet a registered domain\n-----------------------\n\n\nYou can register a domain\nname through [Google Domains](https://domains.google/) or another\ndomain registrar of your choice.\n\nCreate a managed zone and record set\n------------------------------------\n\n\nThis section explains how to create a DNS zone and record set in Google Cloud DNS.\n\n1. Create a managed zone and record set for your domain. This is the address you will use to make API proxy calls to hybrid.\n 1. Create a managed public zone. For instructions, see [Create a managed public zone](https://cloud.google.com/dns/docs/set-up-dns-records-domain-name#create_a_managed_public_zone).\n 2. Create a new record set with the following selections. For instructions, see [Create a new record](https://cloud.google.com/dns/docs/set-up-dns-records-domain-name#create_a_new_record).\n - **DNS Name** : The name of the endpoint external API calls communicate with, like `\n api-services` or `example-endpoint`\n - **Resource Record Type** : **A**\n - **TTL** and **TTL Unit**: Accept defaults\n - **IP Address**: The static IP you created\n2. 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.\n\n ```\n export DOMAIN=dns_name_of_record\n ```\n\nAdd your DNS servers to Cloud DNS\n---------------------------------\n\n3. In this step, you copy the DNS servers from your domain to [Google Cloud DNS](https://cloud.google.com/dns/). Doing so allows Google Cloud to manage the DNS for your Google Cloud Project.\n4. 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:\n\nConfigure your domain to use the Google Cloud name servers\n----------------------------------------------------------\n\n\nGo to your domain registrar and edit your domain's DNS settings to use the Google Cloud Name servers.\n\n\nThe following screenshot shows an example of entering the Google Cloud name servers in [Google Domains](https://domains.google.com):\n\n\nGoogle Cloud DNS now manages the DNS records for your domain.\n[1](/apigee/docs/hybrid/v1.3/precog-gcpaccount) [2](/apigee/docs/hybrid/v1.3/precog-gcpproject) [3](/apigee/docs/hybrid/v1.3/precog-enableapi) [4](/apigee/docs/hybrid/v1.3/precog-provision) [5](/apigee/docs/hybrid/v1.3/precog-add-dns) [(NEXT) Step 6: Create an environment group](/apigee/docs/hybrid/v1.3/precog-add-environment)\n\n\u003cbr /\u003e"]]