Ruvalin

With your provider · OVHcloud

Setting up SPF, DKIM and DMARC on OVHcloud

On OVHcloud all three records are published from Web Cloud, Domain names, your domain, the DNS zone tab, and the “Add an entry” button. DKIM is now enabled from the Emails section without touching DNS at all. The assisted DMARC form cannot write adkim, ruf or fo: for a complete record, choose the TXT type instead.

By Tom GernezUpdated 5 min read

Key points

  • DNS zone: Web Cloud → Domain names → your domain → DNS zone tab → Add an entry.
  • The assisted DMARC type exposes only v, p, pct, rua, sp and aspf. It is missing adkim, ruf and fo.
  • DKIM is enabled from Emails → your service → General information → Security on new-generation MX Plan and Email Pro. OVH publishes the key itself.
  • The assisted SPF form offers “Use the SPF for OVHcloud web hosting”, which is not the same thing as the SPF for your mailboxes.
  • A domain bought at OVH can have its DNS zone elsewhere. Check the nameservers before wondering why nothing changes.

Before you start

Two checks are worth the quarter of an hour they save. First: is your domain's DNS zone actually at OVH? A domain bought from OVH can perfectly well be delegated to Cloudflare or another host, and in that case changes made in the OVH control panel have no effect whatsoever.

Where the zone is really served
dig +short NS example.com
# dns*.ovh.net → the zone is at OVH

Second, establish what is already published. A second SPF record inherited from an old configuration invalidates the first, and a forgotten DMARC record can conflict with the one you are about to write.

The state of things, in three commands
dig +short TXT example.com
dig +short TXT _dmarc.example.com
dig +short MX example.com

The procedure

  1. 01

    Open the DNS zone

    In the OVHcloud control panel: Web Cloud, then Domain names, then your domain, then the DNS zone tab. The “Add an entry” button sits above the table.

  2. 02

    Publish SPF

    Choose the SPF type. The form offers “Use the SPF for OVHcloud web hosting”: that box authorises the web hosting's sending servers, which is not the same thing as your mailboxes. If your mail is on MX Plan or Email Pro you also need include:mx.ovh.com. If it is at Google or Microsoft, theirs is the include you need, and OVH's only matters if your website sends mail too.

    A domain served by MX Plan, with an OVH site sending notifications
    example.com.  IN  TXT  "v=spf1 include:mx.ovh.com 
                             include:spf.ovh.net -all"
  3. 03

    Enable DKIM without touching DNS

    Since 2023 OVH generates and publishes the key itself on new-generation MX Plan and Email Pro. Go to Emails, select your service, open the General information tab and then the Security section, and switch DKIM on. The record appears in the zone by itself. On an older plan, or with third-party mail, the mail provider is the one who gives you the value to publish.

  4. 04

    Publish DMARC in monitoring mode

    Here is this page's trap, and it is worth reading in full: see the next section. For a first record in monitoring the assisted form is enough. Choose the DMARC type, enter _dmarc as the subdomain, DMARC1 as the version, none as the rule, and your reporting address as rua.

  5. 05

    Verify from outside

    Do not trust the control panel's own display: it shows what it recorded, not what the world resolves. Allow a few minutes for propagation, then query DNS from a public resolver.

    dig @1.1.1.1 +short TXT _dmarc.example.com
    dig @1.1.1.1 +short TXT example.com

The trap: the assisted DMARC form is incomplete

OVH offers a DMARC entry type with a guided form, and for a first record that is a good idea. The form exposes only six tags: the version, p, pct, rua, sp and aspf.

So adkim is missing, the tag that sets DKIM alignment strictness. It is the tag that matters most once rejection is live, because DKIM is the check that survives forwarding. A domain configured only through this form will have aspf=s and a DKIM alignment left relaxed without anyone having decided it.

The TXT entry to write, once the rollout is finished
Subdomain : _dmarc
Type      : TXT
Value     : v=DMARC1; p=reject; rua=mailto:reports@example.com;
            adkim=s; aspf=s; pct=100

The other traps, in the order you meet them

SymptomUsual cause at OVH
Changes have no effect at allThe DNS zone is delegated elsewhere. Check the NS records before anything else.
SPF fails although the OVH box is ticked“Use the SPF for web hosting” does not authorise the mail servers. You also need include:mx.ovh.com on MX Plan.
Two SPF recordsThe old one, left behind after a mail migration. Two v=spf1 records produce an immediate permerror.
DKIM missing although enabledOn an old-generation MX Plan the one-click switch does not exist. Ask for the migration, or publish the key by hand.
DMARC with no adkimThe assisted form. Move the entry to the TXT type.
The TTL makes you waitOVH defaults to 3600 seconds. Drop it to 300 during the rollout and put it back afterwards.

What this page does not cover

Publishing the three records does not protect your domain yet: while the policy is at p=none nothing is blocked. Reaching rejection takes two to three weeks of reading the reports, and is described in the guide on moving to rejection.

This page describes the OVHcloud interface as it stood on 22 August 2026. Providers move their menus; if the path no longer matches, the values to publish have not changed.

Common questions

Sources

Definitions

  • DMARC: the complete guide

    What DMARC is, how to read the record, how to publish it and how to move it to rejection without breaking your mail. Written by a consultant who deploys it, with the exact values.

  • Moving DMARC to reject without breaking your mail

    The rollout to p=reject, stage by stage, over two to three weeks. How to read the reports, align every legitimate sender, and how to tell when it is safe to tighten.

  • SPF: the ten DNS lookup limit

    Past ten DNS queries, an SPF record returns permerror and stops protecting the domain, with nothing visibly breaking. How to count, how to get back under the limit, and why flattening is a trap.

Want to know what is published on your domain? The check is free, takes no sign-up, and reads only public records. Check your domain

Tom Gernez · Independent information security consultant. Ruvalin sets up email authentication for small French firms and professional practices.

All guides

CallBook