使用 TXT 记录验证网域

本文介绍如何使用 TXT 记录通过 Cloud Identity 验证您的网域。

Why verify?

A Beginner's Guide to Signing up for Google Workspace

We don't want someone else to use your domain to sign up for Google Workspace. You can help us keep your domain safe by showing us that you are the owner.

Note: If you purchased your domain when you signed up for Google Workspace, you don't need to verify. If you are in a Google Workspace trial, you must verify your domain within the first 9 days of your trial period. 

Verify your domain for your Google service

You verify your domain through your domain host (typically where you purchased your domain name). Your domain host maintains settings called DNS records that direct internet traffic to your domain name. For details, see Identify your domain host.

Google gives you a TXT verification record to add to your domain host's DNS records. When Google sees the record exists, your domain ownership is confirmed. The verification record does not affect your website or email.

Add a TXT verification record (any domain host)

Note: The administrator that gets the verification record needs to complete the verification process. The verification records are unique to each administrator, so one administrator cannot finish a domain verification that was started by another. 

Step 1: Get your verification code from Google Workspace

  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in @gmail.com).

  2. Click Continue to verify your domain with a TXT record.

  3. Look for your verification code in the setup tool and click Copy.

    Shows the Copy button next to the Google Workspace verification code.

Step 2. Go to your domain's DNS records

  1. In a second browser window or tab, sign in to your domain host account. For details, see Identify your domain host.
  2. Go to your domain's DNS records. The page might be called something like DNS Management, Name Server Management, Control Panel, or Advanced Settings.
  3. Select the option to add a new record.

Step 3. Add the verification record to your domain host

  1. For the record type, select TXT.
  2. In the Name/Host/Alias field, enter @ or leave it blank.
    Your host might require you to enter your domain, which looks like example.com, into this field. Your other DNS records might indicate what you should enter.
  3. In the Time to Live (TTL) field, enter 86400 or leave the default.
  4. In the Value/Answer/Destination field, paste the verification record you copied in step 1.
  5. Save the record.

Note: If you see a warning message about changing your DNS settings, disregard it. Adding the TXT record won't damage your website or DNS settings.

Step 4: Tell Google Workspace to check your verification code

  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in @gmail.com).

  2. Click Continue.

  3. Scroll to the bottom of the next page and click Verify my domain.

Important! It might take additional time for your registrar to publish the verification code. If the Google Workspace setup tool gives you an error message, wait an hour before you try again.

In extreme cases, it can take up to 48 hours for your registrar to publish your verification code.

 

Get support

If you need help with verification you can contact ​Google Workspace​ support.

Next steps (Google Workspace only)

After you verify your domain, you can set up Gmail with Google Workspace. Keep the Admin Console and your domain host site open in your browser. In a new tab or window, open detailed instructions for setting up Gmail with your host.