TXT records for verification (Google, Microsoft, Apple, Stripe)
A TXT record holds text. Services ask you to publish a specific line as proof you control the domain. They read it, mark you verified, and you can often delete it later.
Common verification records
Each provider gives you a unique value. The examples show the shape.
| Service | Name | Value (example) |
|---|---|---|
| Google (Workspace, Search Console) | @ |
google-site-verification=aB3dE5fG7hJ9kL1mN3pQ5rS7tU9vW1xY3zA5bC7dE9f |
| Microsoft 365 | @ |
MS=ms12345678 |
| Apple (iCloud+ custom domain) | @ |
apple-domain=aBcDeFgHiJkLmNoP |
| Stripe | @ |
stripe-verification=5f1c9a0b7e2d4c6a8b3e1f0d9c7a5b2e |
| Facebook / Meta | @ |
facebook-domain-verification=abcd1234efgh5678 |
Formats change from time to time, and some services ask for a CNAME or a TXT record on a subdomain instead. Always use the exact name and value the service shows you.
Add one in your Barbrick account
- Open Account → Hosting → your site → DNS and choose your domain.
- In Add a record, below the table, set Type to TXT.
- For Name, enter
@(or the subdomain the service asks for). - In Text, paste the value. Do not add quotes.
- Leave TTL on 1 hr and click Add record.
- Return to the service and select Verify.
Verification usually works within minutes. Allow up to an hour.
Several TXT records on one name
A name can carry many TXT records, such as Google verification, Microsoft verification, and SPF. They coexist. The one exception is SPF. Only one v=spf1 record may exist per name. See SPF.
example.ca. 3600 IN TXT "v=spf1 include:spf.protection.outlook.com ~all"
example.ca. 3600 IN TXT "MS=ms12345678"
example.ca. 3600 IN TXT "google-site-verification=aB3dE5fG7hJ9kL1mN3pQ5rS7tU9vW1xY3zA5bC7dE9f"
Mistakes to avoid
| Mistake | Result |
|---|---|
| Two SPF records | SPF fails with a permanent error. Merge into one. |
| Quotes copied into the value box | The check fails. Remove them unless your provider requires them. |
Wrong name (adding example.ca.example.ca) |
The service cannot find it. |
| Line breaks or invisible spaces | Verification fails. Paste into a plain text editor first. |
| Long values over 255 characters | Must be split into quoted chunks. The DNS page does this for you. |
Check it
dig +short TXT example.ca
"MS=ms12345678"
"v=spf1 include:spf.protection.outlook.com ~all"
"google-site-verification=aB3dE5fG7hJ9kL1mN3pQ5rS7tU9vW1xY3zA5bC7dE9f"
Should I delete it after?
Usually not. Some providers recheck now and then. Delete only if the service says it is safe.
Still stuck? Ask us and we'll walk you through it.
