How do you add a DMARC record at OVHcloud?
To add an OVH DMARC record, go to Web Cloud > Domains & DNS > Portfolio, select the domain and open the DNS zone tab. Click Create a record and choose the DMARC type or a TXT record named _dmarc. Enter a value such as v=DMARC1; p=none; rua=mailto:dmarc@example.com, check the preview and click Add.
OVHcloud is one of the few DNS hosts with a dedicated DMARC record type in its zone editor. That form is convenient, but its example and one of its fields are based on the old standard. This guide covers both routes, the TTL, the OVHcloud API for MSP portfolios, and the checks to run afterwards.
Key takeaways
- The record lives at
_dmarcin the zone. The DMARC form fills this in for you; a TXT record needs_dmarctyped as the subdomain. - OVHcloud's DMARC form has a Percentage of filtered messages field with a default of 100. RFC 9989 removed that tag, so a plain TXT record gives you a cleaner result.
- Keep one DMARC record per name. Do not create both a DMARC-type record and a TXT record at
_dmarc. - OVHcloud says zone changes can take up to 24 hours to propagate. Via the API, call
POST /domain/zone/{zoneName}/refreshto apply pending changes. - Zone history keeps earlier versions you can compare and restore, which is a useful rollback for MSPs.
Is the domain's DNS actually hosted at OVHcloud?
Check this first. An OVHcloud DNS zone only answers if the domain uses OVHcloud's DNS servers. Run dig NS example.com +short. OVHcloud's guide says its servers follow the pattern nsXX.ovh.net and dnsXX.ovh.net, with .ovh.ca for Canadian zones. If you see other servers, add the record at that DNS host instead.
dig NS example.com +short
dns200.ovh.net.
ns200.ovh.net.
The guide to modifying DNS servers says a server change takes up to 48 hours to propagate. It also warns that the old zone's content is not copied to the new servers. Many MSP clients register a domain at OVHcloud but host DNS elsewhere, so a record added to the unused OVHcloud zone does nothing.
What are the steps in the OVHcloud Control Panel?
OVHcloud's DMARC guide and its guide to editing a DNS zone describe the same path. You open the domain's DNS zone, create a record, pick a type, fill the form and confirm. The steps below follow those guides.
- Sign in to the OVHcloud Control Panel.
- Go to Web Cloud > Domains & DNS > Portfolio and select the domain.
- Open the DNS zone tab.
- Click Create a record above the table.
- In Type, choose DMARC, listed under Mail fields, or TXT for a free-text record.
- Fill in the fields. For TXT, enter
_dmarcas the subdomain and the full DMARC string as the value. - Choose Default or Custom for the TTL.
- Check the record preview, then click Add.
What fields does the OVHcloud DMARC form have?
The DMARC form builds the record from separate fields. OVHcloud's DMARC guide lists them as follows. The subdomain is fixed at _dmarc and cannot be changed, so the form always targets the domain itself.
| Field in the form | Tag | OVHcloud default | What to enter under RFC 9989 |
|---|---|---|---|
| Subdomain | none | _dmarc, locked |
Leave as is |
| Version | v |
DMARC1 |
Leave as is |
| Rule for the domain | p |
Not stated | none to start |
| Percentage of filtered messages | pct |
100 | Removed from the standard; see the warning below |
| URI for global reporting | rua |
Empty | mailto:dmarc@example.com |
| Rule for subdomains | sp |
Inherits p if absent |
Leave empty unless subdomains need a different policy |
| Alignment mode for SPF | aspf |
r (relaxed) |
Leave at r unless you need strict |
The form does not offer ruf, adkim or fo. It also has no field for the new tags np and t. OVHcloud's guide says tags outside the form need a TXT record.
Should you use the DMARC type or a TXT record?
Use a TXT record if you want a record that matches RFC 9989 exactly. The DMARC form is fine for a basic p=none record, but it cannot add np or t. It also carries the percentage field. A TXT record lets you type the exact string, which makes it easier to compare with your templates.
For a TXT record, enter:
- Subdomain:
_dmarc(or_dmarc.shopfor a subdomain calledshop, as OVHcloud's guide shows) - Value:
v=DMARC1; p=none; rua=mailto:dmarc@example.com
OVHcloud's TXT record guide shows the value typed without surrounding quotes. Do not type the zone name after _dmarc, because the subdomain field is relative to the domain.
Why should you ignore OVHcloud's pct example?
Warning: OVHcloud's DMARC guide is written for the old standard. Its example DMARC record sets p=quarantine, a percentage tag of 100, a rua address and aspf=s. The guide describes the percentage tag as a way to make "a gradual transition". RFC 9989 removed that tag, along with rf and ri.
What this means in practice:
- Do not use the percentage field to stage enforcement. A receiver that follows RFC 9989 ignores the tag, so a value of 10 does not limit anything. Older receivers may still honour it, which makes the outcome unpredictable.
- A value of 100 is harmless but unnecessary. It matches the full policy, so it changes nothing. It is still noise in a record you will audit later, which is why a TXT record is cleaner.
- Skip
rfandri. OVHcloud's TXT example also listsrfandriwith defaults. Both tags were removed and are ignored. - Do not start at quarantine. The example uses
p=quarantineto illustrate the syntax. OVHcloud's own guide recommends starting atp=noneand analysing reports for several weeks.
Stage enforcement with complete records instead: p=none, then p=quarantine, then p=reject. Our article on why the pct tag was removed explains the reasoning.
Which DMARC values should you publish under RFC 9989?
Start with monitoring and move up one full step at a time. RFC 9989 keeps the policies none, quarantine and reject. It adds np for non-existent subdomains and t for testing. Each stage below is a complete record you can paste into a TXT value.
| Stage | Value | When to use it |
|---|---|---|
| Monitor | v=DMARC1; p=none; rua=mailto:dmarc@example.com |
First publish, while you map senders |
| Test quarantine | v=DMARC1; p=quarantine; t=y; rua=mailto:dmarc@example.com |
Asks receivers to apply one level below the policy |
| Quarantine | v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com |
All legitimate senders pass |
| Reject | v=DMARC1; p=reject; np=reject; rua=mailto:dmarc@example.com |
Reports are clean for a full cycle |
RFC 9989 defines t=y as a test mode: failing mail is treated one level below the published policy. Receivers now find the organisational domain with a DNS tree walk, so subdomains inherit the parent's record unless they have their own. Our guide to np, psd and t covers the new tags.
If rua points to an address on another domain, such as an MSP reporting domain, that domain must authorise it. RFC 9990 describes the _report._dmarc record. See authorising external report destinations for the setup.
How long can the TXT value be at OVHcloud?
OVHcloud's page on DNS records says a TXT record is limited to 255 characters in the record form. It adds that the limit does not exist if you use Modify zone, the text editor for the whole zone. A normal DMARC record is far shorter, so this rarely matters.
The same page suggests that you can sometimes split a long value into several records. Do not do this for DMARC. RFC 9989 says that if a receiver finds more than one DMARC record for a name, all of them are discarded. If a DMARC value ever needs more than 255 characters, edit it in Modify zone as one record.
What TTL should a DMARC record use at OVHcloud?
Use the zone default unless you are about to change the policy. Each record can use Default or Custom TTL. The zone default is set on the DNS zone card under Default TTL, as a preset or a custom value in seconds. The OVHcloud pages we checked do not state the numeric default.
Lower the record's TTL a day before a policy change, so a mistake can be reversed quickly. Restore the default once the policy is stable. Separately, OVHcloud says zone changes can take up to 24 hours to propagate fully.
How do you roll back a DMARC change at OVHcloud?
Use the zone history. OVHcloud's zone history guide says the My DNS zone history card on the DNS zone tab keeps up to 200 backups per zone. You can compare two versions, download one as a .txt file, or click Restore.
Backups older than 31 days are deleted automatically, except the five most recent. OVHcloud notes that a restore can take 4 to 24 hours to propagate. For MSPs, the compare view is a quick way to prove what changed in a client's zone and when.
How do you add the record with the OVHcloud API?
Use the /domain/zone endpoints. OVHcloud's API first steps guide names POST /domain/zone/{zoneName}/record to add a record, PUT .../record/{id} to replace one and DELETE .../record/{id} to delete one. Changes apply after POST /domain/zone/{zoneName}/refresh.
The guide explains authentication. You create an application at the token creation page and receive three values: an application key, an application secret and a consumer key. The Rights field limits which API paths and methods the key can use. The EU API console is at https://api.eu.ovhcloud.com/console/.
| Method and path | What it does |
|---|---|
GET /domain/zone/{zoneName}/record?fieldType=TXT&subDomain=_dmarc |
Lists record IDs matching type and subdomain |
GET /domain/zone/{zoneName}/record/{id} |
Reads one record |
POST /domain/zone/{zoneName}/record |
Creates a record (fieldType and target required; subDomain, ttl optional) |
PUT /domain/zone/{zoneName}/record/{id} |
Updates subDomain, target or ttl |
DELETE /domain/zone/{zoneName}/record/{id} |
Deletes a record |
POST /domain/zone/{zoneName}/refresh |
"Applies the pending record changes to the zone" |
The field names and the refresh description come from OVHcloud's published API schema. The schema lists both TXT and DMARC as record types. The format of a DMARC-type target is not documented in the guides, so a TXT record is the predictable choice for scripts.
A Python example with OVHcloud's ovh SDK, using the ovh-eu endpoint from OVHcloud's introduction:
import ovh
client = ovh.Client(
endpoint="ovh-eu",
application_key="AK",
application_secret="AS",
consumer_key="CK",
)
zone = "example.com"
ids = client.get(f"/domain/zone/{zone}/record", fieldType="TXT", subDomain="_dmarc")
value = "v=DMARC1; p=none; rua=mailto:dmarc@example.com"
if ids:
client.put(f"/domain/zone/{zone}/record/{ids[0]}", target=value)
else:
client.post(f"/domain/zone/{zone}/record",
fieldType="TXT", subDomain="_dmarc", target=value, ttl=3600)
client.post(f"/domain/zone/{zone}/refresh")
The script reads before it writes, so it updates an existing record instead of adding a second one. Also check for a DMARC-type record at _dmarc before you create a TXT one. OVHcloud's DNS FAQ confirms the refresh call restarts propagation of the zone.
How do you verify the DMARC record after publishing?
Query one of the zone's OVHcloud nameservers first, then a public resolver. The first shows what OVHcloud serves. The second shows what receivers see once caches expire. Both should return exactly one string starting with v=DMARC1.
dig +short TXT _dmarc.example.com @ns200.ovh.net
"v=DMARC1; p=none; rua=mailto:dmarc@example.com"
dig +short TXT _dmarc.example.com @1.1.1.1
"v=DMARC1; p=none; rua=mailto:dmarc@example.com"
Replace ns200.ovh.net with the server from your own dig NS result. If you see two strings on separate lines, there are two records, and receivers will discard both. Our guide to checking your DMARC policy explains how to read the result.
What are the common OVHcloud DMARC mistakes?
Most problems come from the wrong zone or a duplicate record, not from syntax. The dedicated DMARC type adds one more risk: it is easy to create it next to an old TXT record. The table lists the mistakes we would check first.
| Mistake | Symptom | Fix |
|---|---|---|
| Domain uses non-OVHcloud DNS servers | Record never appears in dig |
Add the record at the real DNS host |
DMARC type and TXT both at _dmarc |
Two strings returned; receivers discard both | Delete one of them |
| Percentage field below 100 | Policy applied in full by updated receivers | Use a full p= stage instead |
rf or ri copied from the TXT example |
Tags ignored under RFC 9989 | Remove them |
| Long value split into several records | Multiple DMARC records | Use one record, edited in Modify zone if needed |
| API change without refresh | Change not visible | Call POST /domain/zone/{zoneName}/refresh |
External rua without authorisation |
No reports at the MSP address | Publish the _report._dmarc record at the destination |
How should MSPs manage OVHcloud zones across many clients?
Treat every client zone the same way: read, compare, write, refresh, verify. Give each script an API key whose Rights cover only the paths it needs, such as GET and PUT on /domain/zone/*. Use the zone history as your audit trail for manual changes.
- Inventory. List each client domain, its DNS servers and the current
_dmarcvalue. - Check delegation. Confirm the NS records point to OVHcloud before you edit the zone.
- Publish
p=none. Use a TXT record with a monitoredruaaddress. - Map senders. Use aggregate reports to find every service sending as the domain, then fix SPF and DKIM alignment.
- Step up. Move to
p=quarantine, optionally witht=yfirst, thenp=reject, with a lowered TTL during each change. - Re-check monthly. Script a read-only
GETacross zones to catch drift and duplicates.
A multi-tenant platform such as DMARC AI reads the aggregate reports and groups them per client domain, so you can see which zones are ready for the next step. Our DMARC change-management policy for MSP portfolios covers approvals and rollback.
Does it matter that OVHcloud is a European provider?
For the DNS record itself, no. A DMARC record is public, so where it is hosted raises no privacy question. For EU clients, the real question is where reports go and who processes them. Aggregate reports contain sending IP addresses, and failure reports can contain message details.
OVHcloud's guide mentions failure reports through the ruf tag in a TXT record. Failure reports are now defined in RFC 9991, and Google's own DMARC help says Gmail does not support ruf. Our guide to DMARC, GDPR and personal data in reports covers what reports contain. For clients in scope of NIS2, the NIS2 and DMARC guide explains where email authentication fits.
Frequently asked questions
Does OVHcloud have a DMARC record type?
Yes. OVHcloud's zone editor lists a DMARC type under Mail fields. It builds the record from fields for the policy, report address, subdomain policy and SPF alignment, with the subdomain locked to _dmarc. It also has a percentage field from the old standard, so a TXT record is cleaner under RFC 9989.
Should I leave the percentage field at 100?
If you use the DMARC form, never set it below 100. RFC 9989 removed the tag, so updated receivers ignore it and apply the full policy. A value of 100 changes nothing but adds noise. To avoid the tag entirely, publish a TXT record at _dmarc with the exact string you want.
How long does an OVHcloud DNS change take?
OVHcloud says a change made in a DNS zone can take up to 24 hours to propagate fully. A change of DNS servers can take up to 48 hours. Lower the TTL before planned policy changes. If you use the API, call the zone refresh endpoint so pending changes are applied.
Can I add np and t with the OVHcloud DMARC form?
No. The DMARC form covers p, pct, rua, sp and aspf. OVHcloud's guide says tags outside the form need a TXT record. Delete the DMARC-type record first, then create a TXT record at _dmarc with the full string, for example v=DMARC1; p=reject; np=reject; rua=mailto:dmarc@example.com.
Do I need to call refresh after editing in the Control Panel?
OVHcloud documents the refresh call for the API, where record changes apply after the zone is refreshed. Its Control Panel guides do not mention a refresh step. They say to allow up to 24 hours for propagation. Check the result with dig against an OVHcloud nameserver.
Next steps
- Publish
p=noneas a TXT record with a monitoredruaaddress and check it withdig. - Follow how to set up a DMARC record, step by step if you are new to the tags.
- Move to
p=quarantine, thenp=reject, using how to move from monitoring to enforcement safely. - Compare other European DNS hosts in the series, such as Hetzner DNS and Gandi, and read the DMARC guide for the full picture.