In short
A Search Console Domain property covers the whole domain: www, subdomains, HTTP and HTTPS. It can be verified in only one way: by adding to the domain's DNS zone a TXT record of the form google-site-verification=… supplied by Google. Once this is done, the property is verified and stays verified as long as the record remains in place.
Why it matters
A URL-prefix property sees only one version of the site. If part of the traffic lands on http://, on a forgotten subdomain (shop.example.com, m.example.com) or on the other www variant, its data do not show up. A Domain property brings them together, and it is often what reveals that an old version of the site is still indexed.
DNS verification is also the most robust. An HTML file or tag disappears during a theme change, a redesign or a deployment; a DNS record survives all of that. It does not depend on the CMS and does not touch the site's code.
DNS (Domain Name System) is the directory that maps a domain name to its servers. A TXT record stores free text in it: Google queries it to check that the person requesting access really controls the domain.
What it improves
- Complete view All variants and all subdomains in a single property.
- Anomaly detection Pages indexed over HTTP, an exposed test subdomain, an old domain still present.
- Stable access Verification does not break during a redesign.
- Child properties URL-prefix properties created later under this domain are verified automatically.
- Rankings No effect. This is access to data, not a signal.
How to check
First find out who hosts the DNS zone: that is where, and nowhere else, the record must be added.
dig +short NS example.com
A response in *.ns.cloudflare.com means Cloudflare, *.awsdns-* Route 53, dns*.ovh.net OVHcloud, ns*.vercel-dns.com Vercel. The registrar (where the domain was bought) is not necessarily the DNS host.
Then list the TXT records at the root of the domain:
dig +short TXT example.com
Compliant result, among other possible lines (SPF, other verifications):
"google-site-verification=AbCdEf123456_example"
On Windows: nslookup -type=TXT example.com. Without a terminal, the Google Admin Toolbox Dig tool gives the same result. In Search Console, the property appears in the selector without a protocol, and the Settings page shows the “Domain name provider” method.
How to implement
Before you start
- In Search Console, choose “Domain”, enter
example.com(withoutwwworhttps://) and copy the value displayed. - Add the record at the DNS host with these settings:
| Field | Value |
|---|---|
| Type | TXT |
| Name, host | @, or empty, depending on the interface (domain root) |
| Value, content | google-site-verification=…, copied as is |
| TTL | Default value, or 3,600 seconds |
- Go back to Search Console and click “Verify”. If verification fails, Google states that a manually added record can take two to three days to propagate: try again later without recreating the property.
Common rules:
- Do not delete any existing TXT record. Several TXT records coexist at the root (SPF, verifications for Microsoft, Facebook, Apple…). Add a line; replace nothing.
- No CNAME record at the root. Google offers a CNAME variant (value in
dv.googlehosted.com) reserved for special cases; the TXT record works almost every time. - Do not put the domain name in the Name field when the interface adds it on its own: you would create
example.com.example.com. - Keep the record after verification: Google checks it regularly.
Good to know: for some providers, Search Console offers a guided verification that adds the record after you sign in to your account with the provider. It ends up with the same TXT record; the manual method below works everywhere.
Cloudflare
Versions Cloudflare dashboard, all plans, November 2026.
Open DNS > Records, then “Add record”: type TXT, name @, content google-site-verification=…, TTL Auto. Save. TXT records are never proxied: there is no orange cloud to set. The change is published on Cloudflare's servers within a few minutes.
AWS
Versions Amazon Route 53 console and AWS CLI v2, November 2026.
In the Route 53 console, Hosted zones > example.com.
- If there is no TXT record at the root: “Create record”, empty name, type
TXT, value in double quotes:"google-site-verification=…". - If a TXT record already exists at the root (SPF, for example): edit that record and add the value on a new line. Route 53 groups all TXT values for the same name into a single record.
On the command line, UPSERT replaces the entire record: include the existing values in the file.
{
"Changes": [{
"Action": "UPSERT",
"ResourceRecordSet": {
"Name": "example.com.",
"Type": "TXT",
"TTL": 3600,
"ResourceRecords": [
{ "Value": "\"v=spf1 include:_spf.example.net ~all\"" },
{ "Value": "\"google-site-verification=VALUE\"" }
]
}
}]
}
aws route53 change-resource-record-sets --hosted-zone-id ZONE_ID --change-batch file://txt.json
Google Cloud
Versions Cloud DNS and Google Cloud CLI, November 2026.
gcloud dns record-sets create example.com. --zone=ZONE_NAME --type=TXT --ttl=3600 --rrdatas='"google-site-verification=VALUE"'
If a TXT record already exists at the root, use gcloud dns record-sets update and pass all the values again, separated by commas in --rrdatas. In the console: Network services > Cloud DNS > zone > Add standard.
Azure
Versions Azure DNS and Azure CLI, November 2026.
az network dns record-set txt add-record --resource-group RESOURCE_GROUP --zone-name example.com --record-set-name @ --value "google-site-verification=VALUE"
add-record adds the value to the existing set without overwriting the SPF. In the portal: DNS zone example.com, add a record set of type TXT with the name @.
Plesk
Versions Plesk Obsidian 18.0.
If Plesk hosts the DNS zone (its servers appear in the dig NS output): Websites & Domains > example.com > Hosting & DNS > DNS, then “Add Record”. Type TXT, domain name left empty for the root, value google-site-verification=…. Confirm: Plesk updates the zone. If DNS is managed elsewhere, change it at that provider: Plesk's zone is then not queried.
cPanel
Versions cPanel & WHM 120 and later.
Domains > Zone Editor, “Manage” button on the domain's row, then “Add Record” and type TXT. Name: example.com. (with the trailing dot), record: google-site-verification=…. Save. As with Plesk, this setting only has an effect if the domain's name servers point to the host.
Shared hosting
DNS is managed in the customer area of the host or the registrar:
- OVHcloud:
Web Cloud > Domain names > example.com > DNS zone > Add an entry, typeTXT, empty subdomain. - Ionos, Gandi, o2switch, Hostinger, GoDaddy, Infomaniak: the domain's DNS or DNS zone section, add a TXT record, host
@or empty.
First check that the domain's name servers really are this host's. Otherwise, adding the record has no effect.
Vercel
Versions Vercel dashboard and Vercel CLI, November 2026.
Only if the domain uses Vercel's name servers. In the team, Domains, click the domain and add a TXT record with an empty name. On the command line:
vercel dns add example.com '@' TXT "google-site-verification=VALUE"
Netlify
Versions Netlify DNS, November 2026.
Only if the domain uses Netlify DNS: Domains, choose the domain, then add a record of type TXT with the name @ (or empty) and Google's value.
Shopify
Versions Shopify admin, all plans, November 2026.
For a domain bought from Shopify: Settings > Domains, click the domain, open the DNS settings and add a custom record of type TXT, name @. For an external domain connected to Shopify, add the TXT record at the registrar.
Wix
Versions Wix dashboard, domain bought from Wix or connected through Wix name servers, November 2026.
Settings > Domains, the domain's menu, manage DNS records. In the TXT section, add a record with the host name left empty and Google's value.
Squarespace
Versions Squarespace Domains, November 2026.
In the Domains panel, open the domain, then its DNS settings. Under custom records, add a TXT record with the host @ and Google's value.
Bing Webmaster Tools via DNS
Bing also accepts DNS verification. The simplest option is to import the site from Search Console once the Domain property is verified; otherwise, add the record shown on Bing's verification screen. See set up Bing Webmaster Tools (opens in a new tab).
Common mistakes
- Editing the zone at the registrar when DNS is delegated elsewhere (Cloudflare, for example): the record is never published.
- Overwriting the SPF by replacing the existing TXT record instead of adding one: the company's emails end up in spam.
- Wrong name:
example.comin a field that already appends the domain producesexample.com.example.com. - Truncated value or extra spaces from copy and paste.
- Forgetting the quotes on Route 53, or doubling them elsewhere.
- Recreating the property after every failure instead of waiting for propagation.
- Deleting the TXT record after verification, or losing it during an unprepared DNS host change: the property eventually loses its owners.
Frequently asked questions
How long does it take for Google to pick up a TXT record?
With most providers, a new TXT record is published within a few minutes, and the command dig +short TXT example.com shows it right away. Google nevertheless states that a manually added record can take two to three days to propagate. If Search Console refuses verification while the record is visible, wait a day or two and run verification again without recreating the property.
Can a domain have several TXT records?
Yes. A domain root often carries several TXT records: SPF for email, and verifications for Google, Microsoft, Apple or Facebook. They coexist without any problem. Add Google's value as one more line, without changing or deleting the others. On Route 53, all these values live in a single record, one per line; only the SPF must remain unique.
Should I keep the DNS record after Search Console verification?
Yes, leave the record in place permanently. Google regularly checks that the token is still present. If it disappears, for example during a change of DNS host, owners receive a notification and then lose their permissions after a grace period. Before any DNS migration, export the full zone and check that Google's TXT record is in the new one.
How do I verify a Domain property on Webflow or a hosted site without DNS access?
A Domain property is always verified where the DNS zone is managed, not on the platform that hosts the site. For a Webflow site, add the TXT record at the registrar or in Cloudflare. If nobody has access to the DNS zone, recover the registrar account from the person who bought the domain; in the meantime, create a URL-prefix property verified with an HTML tag.
Resources
- Search Console Help: Verify your site ownershipsupport.google.com
- Search Console Help: Add a website propertysupport.google.com
- Cloudflare: Create DNS recordsdevelopers.cloudflare.com
- Amazon Route 53: TXT record formatdocs.aws.amazon.com
- Azure DNS: Manage record sets with the Azure CLIlearn.microsoft.com
- cPanel: Zone Editordocs.cpanel.net
- Vercel: Managing DNS recordsvercel.com
Updated on
Topic checklist (PDF)