Registrar guide

Adding an SPF Record in Gandi DNS

SPF belongs in a single TXT at your root. Gandi uses “Name” for the left-hand field — use @ for the apex. Never publish two SPF TXT records.

Exact fields

Type: TXT Name: @ Value: v=spf1 include:_spf.google.com ~all TTL: Automatic / Auto

The gotcha

Only one TXT may start with v=spf1. If you already have SPF, edit that row — do not add a second.

No proxy.

Verify SPF after you publish

Open DNS Preflight →

Step by step

Step 1 Navigate to Gandi → your domain → DNS Records (LiveDNS).
Step 2 Click Add record and choose type TXT.
Step 3 Set Name to @ for the root domain.
Step 4 Paste your full SPF record starting with v=spf1 — merge with any existing SPF first.
Step 5 Save the record. Wait a few minutes for the zone to update.
Step 6 Run DNS Preflight to confirm SPF and lookup count.

FAQ

How do I add a TXT record in Gandi?

Gandi → your domain → DNS Records (LiveDNS). Then Add record → TXT → set Name to @ → paste value → save.

Should I create a second SPF TXT if I use two senders?

No — merge includes into one v=spf1 string. Two SPF TXTs cause PermError.

How long until Gandi SPF changes propagate?

Often minutes to a few hours. Confirm in DNS Preflight or the Propagation checker.

What if Gandi splits my TXT into chunks?

Many panels split long strings — SPF usually fits. If something looks wrong, re-copy from your provider.

Where does SPF go?

At the root of your domain — Name = @.