How to Verify Domain Ownership in Google Workspace Using a DNS TXT Record – Complete Admin Guide
When setting up Google Workspace for a business domain, one of the first and most important steps is domain ownership verification. Google needs to confirm t...
When setting up Google Workspace for a business domain, one of the first and most important steps is domain ownership verification.
Google needs to confirm that the organization creating the Google Workspace account actually controls the domain being added.
For example, if your company owns:
and wants to create Google Workspace email addresses such as:
admin@example.comaccounts@example.comsales@example.com
Google must first verify that you control example.com.
The most common verification method is adding a special TXT record to the domain's DNS configuration.
What Is Google Workspace Domain Verification?
Domain verification is Google's method of confirming that you control a particular internet domain.
Google provides a unique verification token similar to:
google-site-verification=AbCdEf123456789xyz
You publish this token as a TXT record in the DNS zone of your domain.
Google then queries the domain's DNS records. If it finds the expected token, ownership is confirmed.
The process can be summarized as:
Google Admin Console → Verification Token → DNS TXT Record → DNS Publication → Google Verification
Why Does Google Require Domain Verification?
Without domain verification, someone could potentially attempt to register another organization's domain with Google Workspace.
Verification therefore serves as proof that the administrator has control over the domain's DNS.
Domain verification is an important part of:
- Initial Google Workspace deployment
- Adding secondary domains
- Configuring certain additional domains
- Establishing administrative control
- Activating domain-based Workspace functionality
- Preventing unauthorized organizations from claiming domains
Domain Verification Does Not Mean Email Configuration
This distinction is extremely important.
Domain verification and Gmail activation are two different processes.
Domain verification proves:
"I control this domain."
MX configuration tells internet mail servers:
"Deliver email for this domain to Google."
Therefore, successfully verifying your domain does not necessarily mean that Gmail is already receiving email.
The normal deployment sequence is approximately:
Google Workspace Signup
↓
Domain Verification
↓
Create/Configure Users
↓
Configure Google MX Records
↓
Configure SPF
↓
Configure DKIM
↓
Configure DMARC
↓
Test Incoming/Outgoing Email
What Is a TXT Record?
TXT stands for Text Record.
A TXT record is a type of DNS record capable of storing text information associated with a domain.
TXT records are commonly used for:
- Google Workspace verification
- Microsoft 365 verification
- SPF
- DKIM
- DMARC
- Search-engine verification
- Third-party service validation
- Email-security configuration
A Google verification TXT record may look similar to:
google-site-verification=abcdef123456789
The actual value is unique to your Google Workspace/domain verification process.
Never copy the example above into your DNS. Always use the exact value generated by your own Google Admin Console.
Requirements Before Starting
Before attempting verification, make sure you have:
- Access to your Google Workspace administrator account.
- Access to the DNS management panel for the domain.
- Permission to create DNS TXT records.
- The correct domain selected in Google Workspace.
- Knowledge of which company actually hosts the domain's authoritative DNS.
The last point is particularly important.
Domain Registrar and DNS Provider May Be Different
A common source of confusion is assuming that DNS must always be changed at the company where the domain was purchased.
That is not necessarily true.
For example:
Domain Registrar: Registrar A
Web Hosting: Hosting Provider B
DNS/Nameservers: Cloud DNS Provider C
Email: Google Workspace
In this situation, the Google verification TXT record normally needs to be created at Provider C, because that provider controls the authoritative DNS zone.
Therefore, before changing anything, determine where the domain's current nameservers point.
Step 1 – Sign In to Google Admin Console
Sign in to the Google Admin Console using an administrator account.
Go to:
You must use an account with sufficient administrative privileges to manage domains.
Step 2 – Open Manage Domains
In Google Admin Console, navigate to approximately:
Menu → Account → Domains → Manage domains
The exact wording or interface layout can change as Google updates the Admin Console.
Locate the domain requiring verification.
Select:
Verify domain
or the corresponding verification/setup option displayed by Google.
Step 3 – Start the Verification Process
Google's setup wizard may ask you to identify your domain registrar or DNS provider.
If your provider appears in the list, select it.
Otherwise, select an option similar to:
My domain uses a different host
Google will then display the DNS record required for verification.
Step 4 – Copy the Google Verification TXT Value
Google will provide a unique TXT value similar to:
google-site-verification=abcdef123_456xyz789
Copy the complete value.
Do not:
- Add extra spaces
- Remove characters
- Change capitalization unnecessarily
- Add your domain name to the token
- Copy a verification value from another domain
- Use the sample value shown in an online tutorial
Use the value generated specifically for your domain.
Step 5 – Sign In to Your DNS Provider
Open the DNS management interface for your domain.
Depending on your provider, the page might be called:
- DNS Management
- DNS Zone
- DNS Records
- Manage DNS
- Zone Editor
- Advanced DNS
- DNS Zone Editor
Common DNS platforms include:
- GoDaddy
- Hostinger
- Namecheap
- Cloudflare
- cPanel/WHM
- IONOS
- Squarespace
- Wix
- Shopify
- AWS Route 53
- Other domain or hosting providers
The exact interface differs, but the DNS principles remain the same.
Step 6 – Add the Google TXT Record
Create a new DNS record.
Typical settings are:
| DNS Field | Typical Value |
|---|---|
| Type | TXT |
| Name / Host | @ |
| Value / Content | google-site-verification=YOUR_UNIQUE_CODE |
| TTL | Default / Automatic |
Some DNS providers expect the root-domain Host/Name field to be:
@
Others may expect it to be blank or may automatically insert the domain.
Follow the DNS provider's required format.
Example
Type: TXT
Host: @
Value: google-site-verification=abcdef123456789
TTL: Auto
Then save the DNS record.
Important: Do Not Delete Existing TXT Records
Your domain may already contain TXT records for:
- SPF
- DKIM
- DMARC
- Microsoft verification
- Google verification
- Other SaaS applications
- Security products
- Website services
Do not delete unrelated TXT records just because Google asks you to create another TXT record.
For example, a domain could legitimately have:
TXT @ google-site-verification=abcdef123456
TXT @ v=spf1 include:_spf.google.com ~all
These records perform completely different functions.
Does Adding the Verification TXT Record Affect the Website?
Normally, no.
A properly created verification TXT record does not redirect website traffic and does not change the web server IP address.
Your website's routing is generally controlled by records such as:
- A
- AAAA
- CNAME
Google's verification TXT record simply publishes a verification string in DNS.
Therefore, adding the correct verification TXT record should not cause your website to stop working.
Does Domain Verification Change Email Delivery?
Domain verification itself normally does not redirect your email.
Mail routing is controlled primarily through MX records.
This is important when migrating an existing company from another mail provider to Google Workspace.
You can generally perform domain verification first without immediately moving email delivery to Google.
MX records should be changed only when you are ready to activate/migrate Gmail.
Step 7 – Save the DNS Record
After entering the TXT record, click the appropriate option such as:
- Save
- Add Record
- Create
- Confirm
The DNS provider will publish the new record.
Step 8 – Wait for DNS Propagation
DNS changes are not always visible everywhere immediately.
Sometimes the new TXT record appears within minutes. In other situations, propagation or DNS caching can make the process take considerably longer.
Google advises that TXT changes can sometimes take up to 72 hours to be recognized.
Therefore, if verification fails immediately after creating the record, it does not automatically mean the configuration is incorrect.
Step 9 – Check Whether the TXT Record Is Publicly Visible
Before repeatedly clicking Verify, it is useful to confirm that the TXT record is visible through public DNS.
You can use:
- Google Admin Toolbox Dig
- nslookup
- PowerShell
- Linux
dig - Reputable DNS lookup services
Checking TXT Records with Windows NSLOOKUP
Open Command Prompt and run:
nslookup -type=TXT example.com
Replace:
example.com
with your actual domain.
Look for your Google verification string.
Checking TXT Records with PowerShell
Windows administrators can use:
Resolve-DnsName example.com -Type TXT
Look through the returned TXT records for:
google-site-verification=
Checking TXT Records on Linux or macOS
Use:
dig TXT example.com
or:
dig example.com TXT
The response should eventually contain the Google verification value.
Step 10 – Return to Google Admin Console
After confirming that the TXT record has been published, return to the Google Workspace setup screen.
Click:
Confirm
or:
Verify
depending on the interface displayed.
Google will query the domain's DNS.
If the correct token is detected, Google will confirm domain ownership.
What Happens After Successful Verification?
After successful verification, Google recognizes that your organization controls the domain.
Depending on the stage of your Workspace setup, you can then continue with tasks such as:
- Activating Gmail
- Configuring users
- Adding secondary domains
- Configuring email authentication
- Setting organizational policies
- Configuring security settings
- Deploying Google Workspace services
Google Workspace Verification vs MX Records
These records are frequently confused.
| Record | Main Purpose |
| TXT Verification | Proves ownership of the domain |
| MX | Routes incoming email |
| SPF TXT | Defines authorized sending infrastructure |
| DKIM TXT | Publishes cryptographic email-authentication information |
| DMARC TXT | Defines authentication policy and reporting |
| A | Points a hostname/domain toward an IPv4 address |
| AAAA | Points toward an IPv6 address |
| CNAME | Creates an alias to another hostname |
Domain verification is only one part of a complete Google Workspace deployment.
Google Workspace Verification vs SPF
These are both TXT records, but they are completely different.
Google Verification
Example:
google-site-verification=abcdef123456
Purpose:
Prove domain ownership.
SPF
Example for a domain sending exclusively through Google Workspace:
v=spf1 include:_spf.google.com ~all
Purpose:
Specify which systems are authorized to send email for the domain.
Do not confuse the two records.
Google Workspace Verification vs DKIM
DKIM is another email-authentication technology.
A DKIM TXT record typically appears under a selector such as:
google._domainkey.example.com
and its value begins approximately with:
v=DKIM1;
DKIM helps receiving mail systems verify that a message was authorized by the sending domain and that relevant signed portions were not modified in transit.
Domain verification does not replace DKIM.
Google Workspace Verification vs DMARC
DMARC is generally published at:
_dmarc.example.com
and may look similar to:
v=DMARC1; p=none;
DMARC works with SPF and DKIM alignment and provides policy/reporting capabilities.
Again:
Domain Verification ≠ SPF ≠ DKIM ≠ DMARC
They may all use TXT records, but each serves a different purpose.
Common Error: Google Cannot Verify Your Domain
If Google reports that it cannot find the verification record, check the following.
1. Wrong DNS Provider
This is one of the most common problems.
You may have changed DNS at your registrar while your authoritative nameservers actually point somewhere else.
Check the domain's NS records.
2. Wrong Host/Name
For a root-domain TXT record, many providers require:
@
Some require the field to be blank.
Entering:
example.com
where the provider automatically appends the domain can potentially result in an incorrect hostname such as:
example.com.example.com
Always understand how your DNS provider handles the Name/Host field.
3. Incorrect Verification Value
Compare the TXT record character by character with the value shown in Google Admin Console.
The complete token should be copied.
4. DNS Has Not Propagated Yet
If the record was just created, wait and test again.
Use public DNS lookup tools rather than relying only on the DNS provider's control panel.
5. TXT Record Added to the Wrong Domain
If your Workspace domain is:
company.com
but you accidentally changed:
company.net
verification obviously cannot succeed.
This sounds simple but is surprisingly common when administrators manage many domains.
6. Record Added to a Subdomain Instead of Root Domain
If Google is asking you to verify:
example.com
make sure the record is published where Google expects it.
For a root-domain verification, this is normally the root domain.
If you are specifically adding/verifying a subdomain, Google may instruct you to use the subdomain as the Host/Name.
7. Nameservers Were Recently Changed
If nameservers were recently migrated, DNS caches may still contain older delegation information.
Wait for DNS changes to propagate and verify which nameservers are authoritative.
8. Local DNS Cache Is Showing Old Results
Your computer or ISP resolver may temporarily cache older DNS data.
Compare results using different public resolvers or an online DNS inspection service.
How to Check the Domain's Nameservers
On Windows:
nslookup -type=NS example.com
PowerShell:
Resolve-DnsName example.com -Type NS
Linux/macOS:
dig NS example.com
The returned nameservers help identify which DNS infrastructure is authoritative for the domain.
Should the Google Verification TXT Record Be Removed After Verification?
Once Google has successfully verified the domain, the verification objective has been completed.
However, there is normally little benefit in immediately deleting the record unless you have a specific DNS-management reason for doing so.
For clean infrastructure management, document the purpose of verification records before removing or changing them.
Never delete TXT records merely because you do not recognize them.
Can Multiple TXT Records Exist on the Same Domain?
Yes.
A domain can have multiple TXT records.
For example:
google-site-verification=...
v=spf1 include:_spf.google.com ~all
another-service-verification=...
The presence of several TXT records is normal.
The important exception is SPF configuration: administrators should avoid publishing multiple independent SPF policies for the same hostname. If multiple services send mail for a domain, they normally need to be represented within one valid SPF policy.
Does Google Domain Verification Transfer the Domain to Google?
No.
Verification does not:
- Transfer domain ownership
- Change the registrar
- Move the website
- Transfer hosting
- Change nameservers
- Automatically modify MX records
- Give Google ownership of the domain
It simply proves that the Workspace administrator has sufficient control of the domain to publish the required DNS verification record.
Does Verification Require Website Access?
Normally, TXT-based verification does not require access to website files.
You need access to the domain's DNS configuration.
This is useful when:
- The website is hosted by another developer
- The website is under construction
- No website currently exists
- Hosting and domain DNS are managed separately
Important Precautions Before Editing DNS
DNS is critical infrastructure.
Incorrect DNS modifications can potentially affect:
- Website availability
- Email delivery
- Subdomains
- VPN endpoints
- Remote services
- Cloud applications
- SSL validation
- Email authentication
Before making DNS changes:
- Take screenshots of existing DNS records.
- Export the DNS zone if your provider supports it.
- Do not delete unrelated records.
- Add only the record requested by Google.
- Double-check the domain before saving.
- Avoid changing nameservers unless specifically required.
- Do not modify MX records merely to perform TXT verification.
Recommended Google Workspace Deployment Checklist
After verifying your domain, a professional Google Workspace deployment should generally include:
-
Verify domain ownership
-
Create administrator accounts
-
Create user accounts
-
Configure recovery information
-
Configure Google MX records
-
Test incoming email
-
Test outgoing email
-
Configure SPF
-
Generate and enable DKIM
-
Configure DMARC
-
Review 2-Step Verification policies
-
Review administrator privileges
-
Create required Groups
-
Configure organizational units if required
-
Review Gmail routing
-
Review forwarding policies
-
Configure security alerts
-
Review third-party application access
-
Test external email delivery
-
Document all DNS changes
Troubleshooting Checklist
If verification fails, check in this order:
Check 1
Is the domain spelling correct?
Check 2
Is the verification token exactly the same as Google's token?
Check 3
Was the record created as TXT?
Check 4
Was it added to the correct hostname?
Check 5
Was it added to the authoritative DNS provider?
Check 6
Can the record be seen using a public DNS lookup?
Check 7
Were the domain's nameservers recently changed?
Check 8
Have you allowed sufficient time for DNS propagation?
Check 9
Are you verifying the correct domain in the correct Google Workspace tenant?
Check 10
If all DNS checks pass, retry verification from the Google Admin Console.
Example Complete Verification Workflow
Suppose the company domain is:
mycompany.example
Google provides:
google-site-verification=XyZ123ExampleToken
The administrator creates:
Type: TXT
Name: @
Value: google-site-verification=XyZ123ExampleToken
TTL: Auto
Then checks:
nslookup -type=TXT mycompany.example
Once the record is publicly visible, the administrator returns to Google Admin Console and clicks Confirm/Verify.
Google finds the token and confirms ownership.
The administrator can then continue with Gmail and the remaining Workspace configuration.
Frequently Asked Questions (FAQ)
1. What is Google Workspace domain verification?
It is the process Google uses to confirm that your organization controls the domain being configured with Google Workspace.
2. Why do I need to verify my domain?
Verification prevents unauthorized organizations from claiming and administering a domain they do not control.
3. What DNS record is normally used?
Google commonly uses a TXT record containing a unique google-site-verification= token.
4. Where do I get the verification value?
From the Google Admin Console during the domain verification/setup process.
5. Where do I add the TXT record?
At the DNS provider currently hosting the authoritative DNS zone for your domain.
6. Is the DNS provider always my registrar?
No. Your registrar, hosting provider and DNS provider can be different companies.
7. What should I enter in the Host field?
For root-domain verification, many DNS providers use @, while others expect the field to be blank. Follow the format required by your DNS provider and Google's displayed instructions.
8. What TTL should I use?
The provider's default or automatic TTL is generally suitable unless you have a specific DNS-management requirement.
9. How long does verification take?
It can sometimes work within minutes, but DNS changes can take much longer to become visible. Google advises allowing up to 72 hours in some situations.
10. Will verification stop my website?
A correctly added TXT verification record should not change normal website routing.
11. Will verification change my email provider?
No. Email routing is controlled by MX records. TXT verification alone does not normally migrate email.
12. Do I need to change MX records to verify my domain?
No. TXT verification and MX mail routing are separate operations.
13. Can my domain contain multiple TXT records?
Yes. Multiple TXT records are common.
14. Can I have Google verification and SPF records together?
Yes. They perform different functions.
15. Is the Google verification TXT record the same as SPF?
No. Verification proves domain control; SPF identifies authorized email-sending infrastructure.
16. Is verification the same as DKIM?
No. DKIM is an email-authentication mechanism.
17. Is verification the same as DMARC?
No. DMARC provides email-authentication policy and reporting based on SPF/DKIM alignment.
18. Google says it cannot find my TXT record. What should I do?
Confirm that the record is publicly visible, verify the token, check the Host/Name field, and make sure you edited the authoritative DNS provider.
19. How can I check the TXT record from Windows?
Run:
nslookup -type=TXT example.com
or use PowerShell:
Resolve-DnsName example.com -Type TXT
20. How can I determine my nameservers?
Run:
nslookup -type=NS example.com
21. Can I verify a domain without a website?
Yes. DNS-based verification does not require a functioning website.
22. Does verification transfer ownership of my domain to Google?
No. The domain remains registered to its existing registrant and registrar.
23. Can I verify a secondary domain?
Yes. Domains added to Google Workspace may require ownership verification as part of the addition process.
24. What should I configure after verification?
For a Gmail deployment, continue with user configuration, MX records, SPF, DKIM, DMARC, security policies and mail-flow testing.
25. Should I delete existing DNS records before adding Google's TXT record?
No. Never delete unrelated DNS records merely to create the verification record.
Conclusion
Google Workspace domain verification is technically straightforward, but understanding where DNS is actually hosted is essential.
The basic procedure is:
1. Sign in to Google Admin Console
2. Open Domains → Manage domains
3. Start domain verification
4. Copy Google's unique TXT value
5. Open the authoritative DNS management panel
6. Create the TXT record
7. Save the DNS change
8. Wait for DNS publication/propagation
9. Confirm the record using a DNS lookup
10. Return to Google Admin Console
11. Click Confirm/Verify
Once ownership has been verified, continue with the remaining Google Workspace deployment, particularly MX, SPF, DKIM, DMARC and account-security configuration.
A properly planned DNS configuration helps ensure reliable Gmail delivery, stronger email authentication and a more secure Google Workspace deployment.
#GoogleWorkspace #GoogleWorkspaceAdmin #GoogleAdmin #GoogleAdminConsole #DomainVerification #GoogleDomainVerification #DNS #DNSRecords #TXTRecord #GoogleTXTRecord #DomainOwnership #GoogleSiteVerification #Gmail #GmailBusiness #BusinessEmail #GoogleWorkspaceSetup #WorkspaceSetup #DNSSetup #DNSManagement #DNSVerification #DNSPropagation #DNSLookup #NSLookup #PowerShell #ResolveDNSName #GoogleDNS #DomainSetup #EmailSetup #EmailSecurity #MXRecords #SPF #DKIM #DMARC #EmailAuthentication #GoogleWorkspaceSecurity #WorkspaceAdministrator #GoogleWorkspaceSupport #WorkspaceTroubleshooting #DNSTroubleshooting #DomainManagement #DomainRegistrar #Nameservers #CloudflareDNS #Hostinger #GoDaddy #Namecheap #cPanel #GoogleWorkspaceGuide #ITAdministrator #TechnicalSupport
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.