Add a verification TXT record (Google, Microsoft, Meta)

Prove to Google, Microsoft or Meta that you own your domain by adding the TXT record they give you to the Infomaniak DNS zone.

Intermediate 7 min Updated on 26 November 2026 EN
Before you start
  • Administrator access to the domain in the Infomaniak Manager
  • The TXT value provided by the service to verify (Google, Microsoft, Meta…)
Key takeaways
  • Path: domain name › Zone DNS › Ajouter un enregistrement › TXT (DNS zone › Add a record › TXT).
  • There is no "Google", "Microsoft" or "Meta" type: choose TXT and paste the value provided.
  • Leave Source empty to target the domain itself, unless the service asks for a subdomain.
  • A verification TXT record is added next to the existing SPF TXT record: don't modify the latter.
1

Open the domain's DNS zone

In the Manager, open your domain name, then Zone DNS (DNS zone). The screenshots show the interface in French: labels appear as on screen, with a short English gloss in brackets. The Gérer la zone DNS de votre domaine (Manage your domain's DNS zone) page lists your records.

Click the magnifying glass to check that a verification TXT record doesn't already exist.

2

Search for an existing TXT record

In Rechercher (Search), type the beginning of the expected value:

  • google-site-verification for Google;
  • MS= for Microsoft;
  • facebook-domain-verification for Meta.

If Aucun résultat (No results) is displayed, no such record exists. Clear the search with the cross.

Tip: If an old value already exists, check with the service whether it is still in use before adding a new one.
3

Add a record

Click Ajouter un enregistrement (Add a record).

Warning: Don't modify the existing records (SPF, DKIM, DMARC, MX…): you are simply adding a new line.
4

Choose the TXT type

On Ajouter un enregistrement DNS (Add a DNS record), Type step, scroll to the bottom of the list.

  1. Select TXT (its description says, in our translation: "Lets you insert any text in a DNS record. It can be used to verify the authenticity of a domain's owner.").
  2. Click Suivant (Next).
5

Fill in the source

At the Information step, the Type is already set to TXT.

  1. Source: leave the field empty for the main domain (the suffix shown is your domain, here .infoswitch.fr). Enter a host name only if the service asks you to.
  2. Valeur (Value): this is where you will paste the text provided by the service (required field).
6

Paste the verification value

Paste into Valeur (Value) the exact string provided by the service, without adding spaces or quotes. Example for Google: google-site-verification=EXEMPLE-TUTO-123 (dummy value).

Usual formats for the other services (for information only, always copy the real value provided):

  • Microsoft 365: MS=ms12345678;
  • Meta (Facebook): facebook-domain-verification=xxxxxxxxxxxx.

Then click Enregistrer (Save).

Warning: For this tutorial, the record was not saved (form closed with Annuler, Cancel): the screen shown after Enregistrer is not included. Afterwards, check that the new TXT line appears in the DNS zone list.
7

Keep the default TTL

The TTL is 1 heure (1 hour) by default; the list ranges from 5 minutes to 1 jour (1 day). The default value is usually fine.

Tip: General advice: a DNS change can take several hours to apply. Wait a little before clicking "Verify" in the Google, Microsoft or Meta console, and try again later if it fails.

Not working?

The service says the record cannot be found

General advice: wait (DNS propagation takes a few hours), check that Source is empty if the service targets the main domain, and that the value was pasted without extra spaces or quotes.

I already have an SPF TXT record on the domain, can I add another one?

Yes: a domain can have several TXT records. Only the SPF record must remain unique, see Add the Infomaniak SPF record without breaking the existing one.

Can I delete the TXT record after verification?

General advice: most services (including Google) recommend keeping it, as they may re-verify the domain. Check the service's documentation.

Did this tutorial help you?