How to Add a Domain to Google Search Console and Verify It with DNS
Verify a domain in Google Search Console with a DNS TXT record. Learn the steps, how long it takes, what to keep and how to fix common errors.
9 min readUpdated Nov 28, 2026By XPASS Editorial Team

Google Search Console is the dashboard that many site owners open only when something goes wrong, yet it is the most direct way to see how Google reads your site. It shows which pages are indexed, which queries bring visitors, and which errors stop pages from appearing. Before it shows you any of that, it needs proof that you control the domain. The cleanest proof is a small record added to your domain's DNS.
This guide walks through adding a domain to Search Console and verifying it with a DNS TXT record. It explains the difference between the two property types, where to put the record, how to check that it is live, and what to do when verification fails. If you have not yet pointed your domain to a host, the companion guides on DNS and HTTPS for Netlify and DNS and HTTPS for Vercel cover that first step for two popular platforms.
Why Search Console asks you to verify
Search Console reveals data that should only go to the owner of a site: which queries lead to it, which pages have problems, which pages are excluded and why. To prevent strangers from reading that data or sending signals about your domain, Google asks you to prove ownership first.
Verification does not change your website and does not rank it any higher. It simply links your Google account to the domain, so that you, and anyone you later grant access to, can see the reports. You can have more than one verified owner, which is useful for a company that wants an agency or a colleague to see the same data.

Domain property or URL-prefix property
When you add a site, Search Console offers two property types. Choosing the right one saves a lot of effort later.
| Feature | Domain property | URL-prefix property |
|---|---|---|
| What it covers | The whole domain, all subdomains, http and https | One exact prefix, such as a single https address |
| Verification | DNS record only | Several methods, including HTML file, meta tag and DNS |
| Reports | One combined view | Only that prefix |
| Best for | Most business sites, especially with subdomains | Sites where you cannot edit DNS, or when you only need one section |
For most companies the Domain property is the better choice. It means you do not need to create separate properties for the bare domain, the www version, a blog subdomain and the http version. They all appear together. The trade-off is that it requires access to the DNS zone, which is the reason this guide focuses on DNS.
Before you start
Gather these items so the process takes a few minutes rather than an afternoon.
- A Google account that you want to be the owner. Use a business-controlled account where possible, not a personal one that might disappear if someone leaves the company.
- Access to the place where the domain's DNS is managed. This is the DNS provider that your nameservers point to. It might be your domain registrar, your hosting company or a separate DNS service. If you are unsure, check which nameservers the domain uses; our domain page explains registration and DNS management, and the reference list at the end of this article points to a plain-language explainer of how the pieces fit together.
- The exact domain name, without a path and without the protocol. For example, the bare domain, not a full page address.
Knowing where DNS is managed matters because the TXT record must be added at the provider that is currently authoritative for the domain. If your nameservers point to one company but you edit records at another, the change will never be seen.
Step by step: from a new property to a verified one
Add the property and get the record
- Sign in to Google Search Console with the account you chose.
- Open the property selector at the top and choose to add a property.
- Select the Domain option and type your domain name, without https and without a trailing slash.
- Continue. Search Console shows a window with a TXT record. The value starts with google-site-verification= and continues with a long token that is unique to you.
- Copy the whole value using the copy button so you do not mistype it. Leave this window open or note that you can return to it later.
Add the TXT record to your DNS
The exact screens differ between providers, but the fields are always the same.
- Log in to the DNS management area for the domain.
- Choose to add a new record and select the type TXT.
- In the name or host field, enter the root of the domain. Providers use different conventions for this: some want a single at-sign, some want the domain name itself, and some want the field left empty. If the interface shows an example, follow it.
- In the value field, paste the full string that you copied, including the google-site-verification= part. Do not add extra spaces or quotation marks unless your provider specifically asks for them.
- Leave the TTL at the default unless you have a reason to change it. A lower TTL can make later changes appear faster, but it is not required for this task.
- Save the record.
If your domain already has other TXT records, such as those used for email authentication, leave them alone. A domain can hold many TXT records at the same name. Adding a new one does not replace the others, and you should not merge several values into one line.
Verify
- Return to the Search Console window and press Verify.
- If the record is already visible to Google, you will see a confirmation that ownership has been verified. Choose to go to the property.
- If Google cannot find the record yet, you will see a message saying verification failed. Do not panic and do not add the record again. Wait several minutes and press Verify once more.
Data in the reports usually takes a little while to appear, since Google needs to process your site. Expect the first useful numbers after a few days rather than immediately.
A plain example
A small clinic owns the domain example-clinic.co.th. The website is hosted with one company, while the domain was registered with another, and the nameservers point to the registrar's own DNS service.
The office manager creates a Domain property for the bare domain. Search Console shows a TXT value. She logs in to the registrar, opens the DNS zone, adds a TXT record at the root and pastes the value. The zone already contained TXT records for email, which she leaves as they are. She saves, waits five minutes, returns to Search Console and presses Verify. The first attempt succeeds. Because the property is at domain level, the clinic can now see data for the bare domain, the www version and the booking subdomain in a single view.
Later, she submits the clinic's sitemap, a step described in our guide to sitemap XML and domain setup.
Why DNS verification can fail
When verification does not work, the cause is usually one of a short list.
| Symptom | Likely cause | What to do |
|---|---|---|
| Record not found right after saving | DNS change not published yet | Wait, then retry; avoid repeated edits |
| Record not found after a long wait | Record added at the wrong provider | Check which nameservers the domain really uses |
| Token mismatch | Typo or partial copy | Copy the value again from Search Console |
| Record exists but is not seen | Wrong name field, such as a subdomain instead of the root | Re-enter the record at the root |
| Quotation marks or spaces inside value | Provider added extra characters | Remove them or follow the provider's example |
| Many conflicting TXT entries | Old or duplicate entries | Remove only the duplicates you added yourself |
To check from your side, you can use any public DNS lookup tool or the command line to query TXT records for the domain and confirm that the verification value appears. If it appears in several different tools, Google should see it too after a short delay. Use the lookup only to read the record; there is nothing you need to change from the lookup itself.

Keeping the verification healthy
Decide who holds the keys. Verification ties a Google account to a domain, so decide early who that account belongs to. For a company, an address that belongs to the business is safer than one belonging to an employee. If the person who verified the property leaves, you may find yourself unable to add users or change settings, and the only fix is to verify again from another account. Adding a second owner right after the first success takes a minute and avoids that situation. Treat the account like any other shared business credential: protect it with a strong sign-in method and review it when staff change.
Verification is not a one-off event. Google may re-check ownership from time to time, so a few habits help.
- Keep the TXT record in place. Do not delete it after the first success. Removing it can cause the property to become unverified.
- Record who owns the property. Note which Google account is the owner, and add a second owner or delegate so access does not depend on one person.
- Remember it when you change DNS provider. When you move DNS to a new provider, copy every record, including this TXT value, before switching nameservers.
- Avoid cleaning up unknown TXT records blindly. Some belong to email authentication or to other services. Delete only what you can identify.
- Review users occasionally. In Search Console settings you can see who has access and remove people who no longer need it.
Because DNS decides how both your website and your reports behave, good housekeeping here pays off. Speed also depends on hosting and DNS choices, a topic covered in the article on Core Web Vitals, DNS and hosting, which is worth reading once your property starts showing performance data.
Limits and what to watch for
- Domain properties need DNS access. If you cannot edit DNS, use a URL-prefix property with another method, or ask the person who controls DNS to add the record.
- Propagation is not instant. The delay depends on the record's TTL and on how quickly your provider publishes. Waiting is usually the right answer.
- Verification is not indexing. Being verified does not make Google crawl faster or list more pages.
- Data starts after verification. Reports are not usually backfilled in full, so verify early, ideally before launch.
- Records can disappear by accident. A DNS migration or a zone reset can drop the TXT record, and the property may lose its status.
- Do not share the token publicly with the wrong expectations. It only proves ownership for the account that requested it, but there is no need to post it online.
- A certificate or hosting problem is separate. If your site shows an HTTPS warning, Search Console will not fix it; check the certificate on the SSL page or with your host.
Summary
To add a domain to Google Search Console, create a Domain property, copy the TXT value that begins with google-site-verification=, add it as a TXT record at the root of your domain at the provider that actually runs your DNS, and press Verify. If it fails, check the provider, the name field and the copied value, then wait before retrying. Keep the record in place afterwards, document who owns the property and carry the record with you if you ever change DNS provider.
When you are ready to register or manage the domain that this verification depends on, you can look at the domains page.
Frequently asked questions
What is the difference between a Domain property and a URL-prefix property?
A Domain property covers every subdomain and both http and https versions of a domain in one place, and it can only be verified with a DNS record. A URL-prefix property covers one exact address prefix and offers several verification methods.
Which DNS record do I add to verify a domain?
Search Console gives you a TXT record whose value begins with google-site-verification= followed by a unique token. You add it to the DNS zone of the domain, usually at the root, then press Verify.
How long does DNS verification take?
Often a few minutes, but it depends on the record's TTL and how quickly your DNS provider publishes changes. If the first attempt fails, wait and try again rather than adding duplicate records.
Should I delete the TXT record after verification?
No. Keep it. Google may check it again from time to time, and removing it can make the property lose its verified status.
Can I verify a domain if I do not control its DNS?
Not with a Domain property. You would need access to the DNS zone, or you can ask whoever manages it to add the record. A URL-prefix property can use other methods such as an HTML file or a meta tag.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Ready to register your domain?
Search a name, compare extensions and pay once for the years you choose.
.com registration from $18.81 for the first year
Search domainsKeep reading

Domain & DNS Guides
What Are Core Web Vitals and How Do DNS and Hosting Affect Them?
Core Web Vitals score loading, responsiveness and visual stability. See where DNS and hosting influence the numbers and where they do not.
10 min read

Domain & DNS Guides
How to Set Up DNS and HTTPS for Netlify
Point a custom domain at a Netlify site, add the correct DNS records and get HTTPS working. A clear walk-through with a worked example and fixes for common problems.
9 min read

Domain & DNS Guides
DNS and HTTPS Setup for Vercel: What to Do
A practical guide to the DNS records and HTTPS settings a Vercel site needs, with checks for certificates, CAA records, redirects and mixed content.
10 min read