# Gandi CNAME and A record setup (https://dodomain.io/docs/guides/dns-providers/gandi)

How to add a CNAME, A or TXT record at Gandi: the host for a subdomain and the root domain (@), and how to check it's live.

{/* GENERATED by apps/docs/scripts/generate-dns-provider-guides.mts from packages/core/src/guides.ts. Do not edit. Change the guide in core, run `pnpm --filter @dodomain/docs generate:dns-provider-guides`, commit both. scripts/check-dns-provider-guides.sh fails the build on drift. */}

These are the steps DoDomain's hosted connect flow shows a customer whose domain is managed at Gandi, in Gandi's own vocabulary. A product using DoDomain never writes them: [the connect flow](https://dodomain.io/docs/connect-flow) detects the provider, shows these steps beside the exact records to create, and verifies each record against the zone's authoritative nameservers. They are published here for your own support articles, and for anyone who wants to see the steps before they start.

Related definitions: [CNAME record](https://dodomain.io/glossary/cname-record), [A record](https://dodomain.io/glossary/a-record), [apex domain](https://dodomain.io/glossary/apex-domain).

## Where the records live [#where-the-records-live]

Open [Gandi's DNS management](https://admin.gandi.net) and pick the domain.

## How to add a CNAME or A record in Gandi [#how-to-add-a-cname-or-a-record-in-gandi]

1. Gandi admin → Domain → your domain → DNS Records.
2. Click Add, pick the type, set Name and Value as below.
3. Create the record, then come back and click Verify.

## What to put in the Gandi host field [#what-to-put-in-the-gandi-host-field]

Enter the relative name only (e.g. `www`); use `@` for the apex. For a record on the domain itself, enter `@`.

Whatever the panel calls the field (Name, Host, Hostname), DoDomain's connect flow shows the value to paste into it already in this provider's format, and shows the fully-qualified name it will verify next to it.

## Worth knowing [#worth-knowing]

- Records are editable at Gandi only while the domain uses Gandi's LiveDNS name servers.

## Common questions [#common-questions]

### Where do I add DNS records at Gandi? [#where-do-i-add-dns-records-at-gandi]

Open [Gandi's DNS management](https://admin.gandi.net) and pick the domain.

### What goes in the host field at Gandi? [#what-goes-in-the-host-field-at-gandi]

Enter the relative name only (e.g. `www`); use `@` for the apex. For a record on the domain itself, enter `@`.

### How do I check that a record at Gandi is live? [#how-do-i-check-that-a-record-at-gandi-is-live]

Look the name up with the free [DNS lookup](https://dodomain.io/tools/dns-lookup), which shows the authoritative answer next to what public resolvers return. DoDomain verifies against the authoritative nameservers, so a record can be correct there while resolvers still serve the old answer until its TTL expires.

## Check the record is live [#check-the-record-is-live]

A saved record is not yet a live record. DoDomain verifies against the zone's **authoritative** nameservers, which answer as soon as the provider publishes the change; public resolvers can lag behind for as long as the old answer's TTL. The free [DNS lookup](https://dodomain.io/tools/dns-lookup) shows both answers side by side for any name, and the [provider detector](https://dodomain.io/tools/provider-detector) tells you which provider serves a domain and whether a one-click path exists for it.

## If you are the product asking for this record [#if-you-are-the-product-asking-for-this-record]

You do not have to send customers here. Mint a connect session and the hosted flow shows these steps to your Gandi customers on its own, then verifies and keeps monitoring the records. See [the connect flow](https://dodomain.io/docs/connect-flow) and the framework guides for [Next.js](https://dodomain.io/docs/guides/custom-domains-multi-tenant-nextjs), [Rails](https://dodomain.io/docs/guides/custom-domains-multi-tenant-rails), [Laravel](https://dodomain.io/docs/guides/custom-domains-multi-tenant-laravel) and [Django](https://dodomain.io/docs/guides/custom-domains-multi-tenant-django). A customer who wants their bare domain rather than a subdomain is the [apex question](https://dodomain.io/docs/apex-domains), which no provider panel solves on its own.

_Steps verified against Gandi's documentation or a live route check at authoring time (July 2026); panel labels do change; the hosted flow is updated when they do._
