Skip to main content
EmailToolBox LogoEmailToolBox
首页全部工具超级查询
邮件健康检查邮件投递测试邮件黑名单检测邮件头分析SPF 检测DKIM 检测DMARC 检测MX 查询
查看全部工具
SPF 检测DKIM 检测DMARC 检测SPF 生成器DMARC 生成器BIMI 检测MTA-STS 检测
指南
English

相关工具

MX 查询
检查邮件服务器
邮件黑名单检测
检查 IP 信誉
DNS 查询
DNS 记录查询
SPF 检测
验证 SPF 记录
DMARC 检测
查询并分析 DMARC 记录
邮件头分析
分析邮件头
DKIM 检测
验证 DKIM 签名
WHOIS 查询
域名注册信息
SMTP 测试
测试 SMTP 连通性
CERT 查询
检查 SSL 证书
DNS 传播
检查 DNS 传播
Ping 测试
测试网络连通性
Traceroute 路由追踪
追踪网络路径
子网计算器
计算 IP 子网
我的 IP 查询
查询您的 IP 地址

需要帮助?

我们的工具设计直观、易于使用,但如果您需要帮助,我们随时为您服务。

使用文档联系客服

关于我们的工具

专业级邮件与 DNS 诊断工具,深受全球 IT 专业人士信赖。

免费使用无需注册实时结果
EmailToolBox LogoEmailToolBox

EmailToolBox 是一套免费的企业邮箱测试、邮件投递与域名诊断工具。一键检查邮箱健康状态,验证 SPF/DKIM/DMARC,查询 DNS 记录并监测黑名单状态,无需注册,数秒出结果。

  • 免费使用
  • 无需注册
  • 即时结果
  • 实时 DNS 查询
  • 注重隐私

邮件诊断

  • 邮件健康检查
  • 邮件投递测试
  • 邮件黑名单检测
  • 邮件头分析
  • 邮箱验证
  • HTML 邮件验证
  • 邮件预览模拟器
  • 垃圾邮件测试
  • 邮件健康报告

邮件认证

  • SPF 检测
  • DKIM 检测
  • DMARC 检测
  • DMARC 报告分析
  • SPF 生成器
  • DMARC 生成器
  • BIMI 检测
  • MTA-STS 检测

DNS 与基础设施

  • MX 查询
  • DNS 查询
  • TXT 记录查询
  • CNAME 记录查询
  • NS 查询
  • DNS 传播
  • PTR/rDNS 记录查询
  • SMTP 测试
  • WHOIS 查询

资源

  • 邮件指南
  • 全部工具
  • 常见问题
  • 联系我们
  • 关于
  • 隐私政策
  • 服务条款

友情链接

  • Favicon Generator
  • Email Testing tools
  • Morse Code Translator
  • Password Remover
  • Regex Cheat Sheet
  • free barcode generator
  • Free Online PDF Tools
  • fast chart
  • refnet
  • world market hours

© 2026 EmailToolBox - 企业邮箱、邮件投递与域名诊断工具。保留所有权利。

    1. 首页
    2. 指南
    3. Gandi DMARC Setup
    Categories
    Related Guides

    How to set up SPF records

    Complete SPF record setup guide, including syntax explanation and best practices

    DANE SMTP Configuration Guide

    Configure DANE for SMTP with TLSA records to enforce secure delivery

    How to Configure MTA-STS in Cloudflare

    Set up MTA-STS policy with Cloudflare for secure SMTP delivery

    Gandi DMARC Setup

    Publish DMARC in Gandi DNS and verify alignment.
    3 min read
    Updated 2025-10-24
    Tutorials
    gandidmarcdns

    A DMARC record is a single TXT record, which makes it look trivial and makes the failures hard to spot. On Gandi in particular, most broken setups are not policy mistakes — they are records that were saved with the wrong hostname, double-quoted values or an unescaped semicolon. This guide covers the mechanics and the traps.

    Publish the record in Gandi's DNS editor

    1. In the Gandi admin, open the domain and go to the DNS Records tab.
    2. Add a record of type TXT. In the name field enter _dmarc only — Gandi appends the domain automatically. Entering the full _dmarc.example.com creates _dmarc.example.com.example.com, which no receiver will ever query.
    3. In the value field enter the policy without surrounding quotes: v=DMARC1; p=none; rua=mailto:dmarc@example.com. Gandi handles quoting on save. Pasting a quoted string makes the quotes part of the value, and the record is then syntactically invalid.
    4. Leave TTL at the default unless you are actively testing. A long TTL means a correction takes hours to become visible.
    5. Save, then verify from outside Gandi rather than trusting the panel.

    Confirm what is actually published

    Query _dmarc.yourdomain.com with the TXT Lookup and check three things: exactly one TXT record is returned, it begins with v=DMARC1, and the reporting address is intact. Then open the DMARC checker for a parsed view of the policy tags.

    If nothing resolves, the usual causes are the duplicated hostname described above, a record saved in a different zone than the one serving the domain, or a stale negative cache entry.

    Get SPF and DKIM in place first

    DMARC evaluates alignment, so it has nothing to align to unless SPF or DKIM is already working. Gandi Mail publishes its own SPF include in the mailbox settings — use that value rather than copying one from a tutorial, because the correct include depends on which Gandi mail offer the domain uses.

    Verify SPF with the SPF Checker and the DKIM selector with the DKIM Checker. A DMARC record published on top of broken authentication produces a steady stream of failures and no useful protection.

    Phase the policy

    Start at p=none with rua= reporting, and keep it there until you have seen every sender your domain uses. Small domains often discover a website contact form, an invoicing tool or an old hosting account still sending as the domain.

    1. p=none — collect reports, identify sources, change nothing else.
    2. p=quarantine; pct=25 — quarantine a quarter of failing mail, watch the reports for volume you did not expect.
    3. p=quarantine full — only when every failing source is one you have deliberately excluded.
    4. p=reject — the end state, once false positives are no longer possible.

    Read the daily XML with the DMARC Report Analyzer at each step. Reports are the only evidence that a policy change did what you intended.

    FAQ

    Does Gandi support DMARC in its own mail service?

    Gandi Mail can publish the records, but DMARC is evaluated by the receiving provider, not by Gandi. The record works for any mail flowing from your domain, wherever it is sent from.

    Can I use a different reporting address?

    Yes. Use an address you actually monitor. A rua mailbox that nobody reads produces the same result as publishing no policy at all.

    Why does the record show as two strings?

    Long TXT values are commonly split into quoted segments by DNS tooling. That is valid as long as the segments concatenate into one policy. A checker that fails on a split record is a checker bug, not a DNS problem.

    Was this guide helpful?

    Gandi DMARC Setup - EmailToolBox