How to Add a TXT Record to Verify a Domain
Google Workspace, Search Console, Facebook, TikTok and other services ask you to prove that you own the domain. One way is to add a TXT record with the code the service gives you to the domain's DNS.
What to enter
| Field | What to enter |
|---|---|
| Type | TXT |
| Name (host) | @ — the domain itself, unless the service specifies another name (for example, _dmarc or google._domainkey) |
| Value | the full code from the service, for example google-site-verification=… |
| TTL | default |
Copy the whole value, without spaces at the start or end. The panel adds quotes itself if they are needed.
Where to add the record
Add the record where the domain's DNS currently works. If the domain uses our name servers, add it in the hosting panel: ISPmanager, cPanel, Plesk, FastPanel, DNS for a VDS. If DNS is at your registrar or in Cloudflare, add it there. To find out where DNS works, see How to point a domain to hosting.
Do not delete other TXT records of the domain, such as SPF (v=spf1 …). A domain can have several TXT records; they do not conflict. The exception is SPF: there must be only one.
How to check
A new record usually becomes visible within a few minutes, sometimes up to a day. Check it with:
nslookup -type=txt your-domain.com 8.8.8.8When the code appears in the output, click the verification button in the service ("Verify"). Search Console also has a method without DNS: verification with a file.