{
    "title": "SPF, DKIM and DMARC explained: why your emails go to spam",
    "description": "Three DNS records that prove your email is genuine: what SPF, DKIM and DMARC each do, Gmail, Yahoo and Outlook rules, and the safe set-up order.",
    "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/",
    "canonical": "https://ursy.com/wiki/spf-dkim-dmarc-explained/",
    "markdown": "https://ursy.com/wiki/spf-dkim-dmarc-explained/index.md",
    "json": "https://ursy.com/wiki/spf-dkim-dmarc-explained/index.json",
    "published": "2026-11-22T17:38:10+00:00",
    "updated": "2026-11-26T15:48:13+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY and link https://ursy.com/wiki/spf-dkim-dmarc-explained/",
    "headings": [
        {
            "level": 2,
            "text": "What does each record do?",
            "id": "what-does-each-record-do",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#what-does-each-record-do"
        },
        {
            "level": 2,
            "text": "Why do you need all three?",
            "id": "why-do-you-need-all-three",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#why-do-you-need-all-three"
        },
        {
            "level": 2,
            "text": "How do they work together?",
            "id": "how-do-they-work-together",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#how-do-they-work-together"
        },
        {
            "level": 2,
            "text": "What do Gmail, Yahoo and Outlook require?",
            "id": "what-do-gmail-yahoo-and-outlook-require",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#what-do-gmail-yahoo-and-outlook-require"
        },
        {
            "level": 2,
            "text": "Why does this matter for search?",
            "id": "why-does-this-matter-for-search",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#why-does-this-matter-for-search"
        },
        {
            "level": 2,
            "text": "Why does this matter for AI answers?",
            "id": "why-does-this-matter-for-ai-answers",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#why-does-this-matter-for-ai-answers"
        },
        {
            "level": 2,
            "text": "A worked example: the three records",
            "id": "a-worked-example-the-three-records",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#a-worked-example-the-three-records"
        },
        {
            "level": 2,
            "text": "What does the DMARC policy do?",
            "id": "what-does-the-dmarc-policy-do",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#what-does-the-dmarc-policy-do"
        },
        {
            "level": 2,
            "text": "What is the safe order?",
            "id": "what-is-the-safe-order",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#what-is-the-safe-order"
        },
        {
            "level": 2,
            "text": "Common mistakes",
            "id": "common-mistakes",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#common-mistakes"
        },
        {
            "level": 2,
            "text": "How to check it",
            "id": "how-to-check-it",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#how-to-check-it"
        },
        {
            "level": 2,
            "text": "What URSY.com counts",
            "id": "what-ursy-counts",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#what-ursy-counts"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#questions"
        },
        {
            "level": 3,
            "text": "Which record should I set up first?",
            "id": "which-record-should-i-set-up-first",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#which-record-should-i-set-up-first"
        },
        {
            "level": 3,
            "text": "Do small senders need all three?",
            "id": "do-small-senders-need-all-three",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#do-small-senders-need-all-three"
        },
        {
            "level": 3,
            "text": "My SPF passes, so why does DMARC fail?",
            "id": "my-spf-passes-so-why-does-dmarc-fail",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#my-spf-passes-so-why-does-dmarc-fail"
        },
        {
            "level": 3,
            "text": "Is p=none enough?",
            "id": "is-pnone-enough",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#is-pnone-enough"
        },
        {
            "level": 3,
            "text": "Do these records help my Google rankings?",
            "id": "do-these-records-help-my-google-rankings",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#do-these-records-help-my-google-rankings"
        },
        {
            "level": 2,
            "text": "Related words",
            "id": "related-words",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#related-words"
        },
        {
            "level": 2,
            "text": "Sources",
            "id": "sources",
            "url": "https://ursy.com/wiki/spf-dkim-dmarc-explained/#sources"
        }
    ],
    "links": [
        {
            "text": "SPF",
            "url": "https://ursy.com/wiki/spf-record/",
            "internal": true
        },
        {
            "text": "RFC 7208",
            "url": "https://www.rfc-editor.org/rfc/rfc7208",
            "internal": false
        },
        {
            "text": "DKIM",
            "url": "https://ursy.com/wiki/dkim/",
            "internal": true
        },
        {
            "text": "RFC 6376",
            "url": "https://www.rfc-editor.org/rfc/rfc6376.html",
            "internal": false
        },
        {
            "text": "DMARC",
            "url": "https://ursy.com/wiki/dmarc/",
            "internal": true
        },
        {
            "text": "RFC 9989",
            "url": "https://www.rfc-editor.org/rfc/rfc9989.html",
            "internal": false
        },
        {
            "text": "DNS",
            "url": "https://ursy.com/wiki/dns/",
            "internal": true
        },
        {
            "text": "MX records",
            "url": "https://ursy.com/wiki/mx-record/",
            "internal": true
        },
        {
            "text": "IP address",
            "url": "https://ursy.com/wiki/ip-address/",
            "internal": true
        },
        {
            "text": "Yahoo",
            "url": "https://ursy.com/wiki/yahoo/",
            "internal": true
        },
        {
            "text": "Google&#8217;s sender guidelines",
            "url": "https://support.google.com/a/answer/81126",
            "internal": false
        },
        {
            "text": "Yahoo&#8217;s sender best practices",
            "url": "https://senders.yahooinc.com/best-practices/",
            "internal": false
        },
        {
            "text": "Microsoft&#8217;s April 2025 post",
            "url": "https://techcommunity.microsoft.com/blog/microsoftdefenderforoffice365blog/strengthening-email-ecosystem-outlook%E2%80%99s-new-requirements-for-high%E2%80%90volume-senders/4399730",
            "internal": false
        },
        {
            "text": "Google",
            "url": "https://ursy.com/wiki/google/",
            "internal": true
        },
        {
            "text": "Google&#8217;s FAQ",
            "url": "https://support.google.com/a/answer/14229414",
            "internal": false
        },
        {
            "text": "search crawlers",
            "url": "https://ursy.com/wiki/search-crawler/",
            "internal": true
        },
        {
            "text": "Googlebot",
            "url": "https://ursy.com/wiki/googlebot/",
            "internal": true
        },
        {
            "text": "landing pages",
            "url": "https://ursy.com/wiki/landing-page/",
            "internal": true
        },
        {
            "text": "organic search",
            "url": "https://ursy.com/wiki/organic-traffic/",
            "internal": true
        },
        {
            "text": "conversion rate",
            "url": "https://ursy.com/wiki/conversion-rate/",
            "internal": true
        },
        {
            "text": "AI assistant",
            "url": "https://ursy.com/wiki/ai-assistant/",
            "internal": true
        },
        {
            "text": "AI agent",
            "url": "https://ursy.com/wiki/ai-agent/",
            "internal": true
        },
        {
            "text": "generative AI",
            "url": "https://ursy.com/wiki/generative-ai/",
            "internal": true
        },
        {
            "text": "prompt injection",
            "url": "https://ursy.com/wiki/prompt-injection/",
            "internal": true
        },
        {
            "text": "subdomains",
            "url": "https://ursy.com/wiki/subdomain/",
            "internal": true
        },
        {
            "text": "Google advises",
            "url": "https://knowledge.workspace.google.com/admin/security/set-up-dmarc",
            "internal": false
        },
        {
            "text": "NCSC",
            "url": "https://www.ncsc.gov.uk/collection/email-security-and-anti-spoofing/configure-anti-spoofing-controls-/monitor-analyse-and-update-your-dns-records",
            "internal": false
        },
        {
            "text": "staging site",
            "url": "https://ursy.com/wiki/staging-site/",
            "internal": true
        },
        {
            "text": "NCSC&#8217;s parked domains advice",
            "url": "https://www.ncsc.gov.uk/blog-post/protecting-parked-domains",
            "internal": false
        },
        {
            "text": "Email Security Checker",
            "url": "https://ursy.com/webmaster-tools/email-security-checker/",
            "internal": true
        },
        {
            "text": "DNS Lookup",
            "url": "https://ursy.com/webmaster-tools/dns-lookup/",
            "internal": true
        },
        {
            "text": "DNS records",
            "url": "https://ursy.com/wiki/dns-records/",
            "internal": true
        },
        {
            "text": "SPF Record Explainer",
            "url": "https://ursy.com/webmaster-tools/spf-record-explainer/",
            "internal": true
        },
        {
            "text": "DKIM Record Decoder",
            "url": "https://ursy.com/webmaster-tools/dkim-record-decoder/",
            "internal": true
        },
        {
            "text": "DMARC Record Generator",
            "url": "https://ursy.com/webmaster-tools/dmarc-record-generator/",
            "internal": true
        },
        {
            "text": "DNS Propagation Checker",
            "url": "https://ursy.com/webmaster-tools/dns-propagation-checker/",
            "internal": true
        },
        {
            "text": "Gmail Help",
            "url": "https://support.google.com/mail/answer/29436",
            "internal": false
        },
        {
            "text": "Email Header Analyser",
            "url": "https://ursy.com/webmaster-tools/email-header-analyser/",
            "internal": true
        },
        {
            "text": "tech stack checker",
            "url": "https://ursy.com/tech-stack-checker/",
            "internal": true
        },
        {
            "text": "Website IP Lookup",
            "url": "https://ursy.com/webmaster-tools/website-ip-lookup/",
            "internal": true
        },
        {
            "text": "reverse DNS bot check",
            "url": "https://ursy.com/wiki/reverse-dns-bot-check/",
            "internal": true
        },
        {
            "text": "Verify an AI Bot",
            "url": "https://ursy.com/verify-ai-bot/",
            "internal": true
        },
        {
            "text": "HTTP header checker",
            "url": "https://ursy.com/http-header-checker/",
            "internal": true
        },
        {
            "text": "RFC 8058",
            "url": "https://www.rfc-editor.org/rfc/rfc8058.html",
            "internal": false
        },
        {
            "text": "certificate",
            "url": "https://ursy.com/wiki/ssl-certificate/",
            "internal": true
        },
        {
            "text": "SSL checker",
            "url": "https://ursy.com/ssl-checker/",
            "internal": true
        },
        {
            "text": "redirect checker",
            "url": "https://ursy.com/redirect-checker/",
            "internal": true
        },
        {
            "text": "redirect",
            "url": "https://ursy.com/wiki/redirect/",
            "internal": true
        },
        {
            "text": "broken link checker",
            "url": "https://ursy.com/broken-link-checker/",
            "internal": true
        },
        {
            "text": "broken links",
            "url": "https://ursy.com/wiki/broken-link/",
            "internal": true
        },
        {
            "text": "tracking checker",
            "url": "https://ursy.com/tracking-checker/",
            "internal": true
        },
        {
            "text": "Lookalike Domain Checker",
            "url": "https://ursy.com/webmaster-tools/lookalike-domain-checker/",
            "internal": true
        },
        {
            "text": "top-level domain",
            "url": "https://ursy.com/wiki/top-level-domain/",
            "internal": true
        },
        {
            "text": "page view",
            "url": "https://ursy.com/wiki/pageview/",
            "internal": true
        },
        {
            "text": "UTM tags",
            "url": "https://ursy.com/wiki/utm-parameters/",
            "internal": true
        },
        {
            "text": "methodology",
            "url": "https://ursy.com/methodology/",
            "internal": true
        },
        {
            "text": "Email deliverability",
            "url": "https://ursy.com/wiki/email-deliverability/",
            "internal": true
        },
        {
            "text": "Domain name",
            "url": "https://ursy.com/wiki/domain-name/",
            "internal": true
        },
        {
            "text": "Google Workspace Admin Help: Set up SPF (last updated 10 November 2026), checked 24 November 2026",
            "url": "https://knowledge.workspace.google.com/admin/security/set-up-spf",
            "internal": false
        },
        {
            "text": "Google Workspace Admin Help: Set up DKIM (last updated 10 November 2026), checked 24 November 2026",
            "url": "https://knowledge.workspace.google.com/admin/security/set-up-dkim",
            "internal": false
        }
    ],
    "words": 1770,
    "text": "SPF, DKIM and DMARC are three DNS records that prove email from your domain is genuine. SPF lists the servers allowed to send it, DKIM adds a signature, and DMARC tells receivers what to do when a message fails both. If your quotes and invoices keep landing in junk, missing or broken records are a common cause, and all three are free to set up. What does each record do? Record Question it answers Where it lives Standard SPF Was this sent from a server you allow? TXT record on your domain, starting v=spf1 RFC 7208 (2014) DKIM Did a domain sign this, and is it unchanged? TXT record at selector._domainkey RFC 6376 (2011) DMARC Does a passing domain match the From address, and what if not? TXT record at _dmarc RFC 9989 (May 2026) All three live in your DNS, next to your MX records, which say where mail for your domain is delivered. Why do you need all three? Each one alone has a gap. SPF checks the hidden MAIL FROM address, not the From address people see, and it fails when mail is forwarded. DKIM proves a domain signed the message, but a spoofer can simply not sign. DMARC closes both gaps. A message passes DMARC when SPF or DKIM passes for a domain that lines up with the visible From address. This is called alignment. How do they work together? Your mail leaves through a service you have listed in SPF and set up to sign with DKIM. The receiver checks SPF against the sending server’s IP address. It checks the DKIM signature against your public key. It checks alignment: does the SPF or DKIM domain match the From domain? If not, it reads your DMARC policy: none, quarantine or reject. It sends a daily report to the address in your DMARC record. What do Gmail, Yahoo and Outlook require? Rule Gmail Yahoo Outlook All senders SPF or DKIM SPF or DKIM Not stated Bulk senders Over 5,000 a day: SPF and DKIM SPF and DKIM Over 5,000 a day: SPF and DKIM must pass DMARC p=none allowed, aligned At least p=none, must pass At least p=none, aligned Spam rate Below 0.3% Below 0.3% Not stated Unsubscribe One-click, plus a visible link One-click, honoured within 2 days Easy, visible opt-out (recommended) In force 1 February 2024 From February 2024 5 May 2025 (Junk) Sources: Google’s sender guidelines, Yahoo’s sender best practices and Microsoft’s April 2025 post. Google aims for spam rates below 0.10%. Google’s FAQ says it began ramping up enforcement in November 2025, with temporary and permanent rejections. Why does this matter for search? These records are read by mail servers, not by search crawlers such as Googlebot. The link is your domain. The name that ranks your landing pages is the name on your email. A visit from organic search often ends in an email: a quote, a booking, an order confirmation. If it lands in spam, the visit is wasted and your conversion rate looks worse than it is. Why does this matter for AI answers? An AI assistant that recommends you often ends with “email them”. An AI agent booking for someone waits for an emailed confirmation. Mail that fails never reaches the person or the assistant reading their inbox. Fakes written with generative AI are harder to spot by their wording, and spoofed mail that gets through can carry hidden instructions, a form of prompt injection. DMARC at reject keeps strangers from sending as your name. A worked example: the three records A law firm at example.com sends everyday email through Google Workspace and its newsletter through Mailchimp. Its three TXT records, in the formats Google’s help pages show, look like this: Record Host Value SPF example.com v=spf1 include:_spf.google.com include:servers.mcsv.net ~all DKIM google._domainkey v=DKIM1; k=rsa; p= followed by the key Google generates DMARC _dmarc.example.com v=DMARC1; p=none; rua=mailto:postmaster@example.com, mailto:dmarc@example.com; pct=100; adkim=s; aspf=s google is Google’s default DKIM selector, and Google says to choose a 2048-bit key if your DNS provider supports it. Each other service that sends as you, such as the newsletter service, needs DKIM switched on in its own settings too, signing with your domain. Google’s DMARC example still includes pct=100. RFC 9989 removed the pct tag, and receivers that follow it ignore unknown tags, so the record still works. Written the RFC 9989 way, the same record is: v=DMARC1; p=none; rua=mailto:dmarc@example.com; adkim=s; aspf=s adkim=s and aspf=s ask for strict alignment, where names must match exactly. Relaxed alignment, the default, accepts subdomains of the same domain, and RFC 9989 says nearly all domain owners find it enough. What does the DMARC policy do? Policy What receivers do with failing mail, in Google’s words p=none Take no action and deliver it; failures appear in the daily reports p=quarantine Mark it as spam and send it to the spam folder p=reject Reject it; the sender usually gets a bounce To test a stricter policy, RFC 9989 adds t=y, which asks receivers to apply the policy one level lower. Google’s help instead suggests raising pct step by step. What is the safe order? SPF first. List every service that sends as you, in one record. DKIM next. Switch it on in each service. Google says both can take up to 48 hours to start working. Wait. Google advises waiting 48 hours after SPF and DKIM before adding DMARC. DMARC at p=none with a rua address. The NCSC says reports arrive within 24 hours, and to watch them for at least 2 weeks. Fix every failing sender the reports show. Tighten. RFC 9989 suggests at least a month at none, then as long at quarantine, before reject. The NCSC’s goal is reject on all your domains. Common mistakes Two SPF records. RFC 7208 allows one; two give “permerror”. More than 10 look-ups in SPF. Also “permerror”. A service signing with its own domain. DKIM passes but does not line up, so DMARC fails. A test site sending as you. A staging site that emails from your domain without SPF or DKIM fails, and fills your reports with noise. DMARC with no rua. No reports, so p=none teaches you nothing. p=reject where staff post to mailing lists. RFC 9989 says such domains “SHOULD NOT” publish it. Spare domains left open. The NCSC’s parked domains advice: v=spf1 -all, v=DMARC1;p=reject;, an empty DKIM key and a null MX. How to check it Run your domain through the Email Security Checker. It checks SPF, DKIM, DMARC, MX, MTA-STS and BIMI live from the DNS in one go. See every record yourself with the DNS Lookup tool. Our DNS records entry explains each type. Read your SPF record in plain words with the SPF Record Explainer. There must be exactly one, with 10 look-ups or fewer. Decode each DKIM key with the DKIM Record Decoder: key type, strength, test flags and revoked keys. Build your DMARC record with the DMARC Record Generator, which adds a step-by-step rollout plan. After any change, check it has spread with the DNS Propagation Checker, which asks 11 public resolvers. In Gmail, open a message you sent, choose “Show original”, as Gmail Help describes, and paste the header into the Email Header Analyser. You want SPF, DKIM and DMARC all to pass. Find every service that sends as you. The tech stack checker shows the shop and other platforms behind your website; each one that emails customers needs SPF or DKIM for your domain. Gmail asks for valid forward and reverse DNS on sending servers. The Website IP Lookup shows an address’s reverse name; our reverse DNS bot check entry explains the matching, which Verify an AI Bot also uses. Check the one-click unsubscribe address answers with the HTTP header checker. RFC 8058 says it must be an HTTPS address, so check its certificate with the SSL checker. Check the links inside your emails with the redirect checker, which follows every redirect hop, and the landing page with the broken link checker, which finds broken links. The tracking checker shows every tracker that page loads. Watch for fake domains with the Lookalike Domain Checker. DMARC protects your exact domain, not names that only look like it, or your name on another top-level domain. Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day. What URSY.com counts URSY.com counts visits to your website, not email. When someone clicks a link in your email, our cookie-free counter records a page view if their browser runs it. The counter never stores query strings, only the path, so UTM tags are not kept in URSY.com. See methodology. Questions Which record should I set up first? SPF, then DKIM, then DMARC at p=none, as Google advises. Wait 48 hours before adding DMARC. Do small senders need all three? Gmail and Yahoo ask every sender for SPF or DKIM. The full set is required above 5,000 messages a day to Gmail or Outlook, but it protects any domain from spoofing. My SPF passes, so why does DMARC fail? Your service may send with its own bounce domain. SPF then passes for that domain, not yours. Ask the service to sign DKIM with your domain. Is p=none enough? It meets the bulk sender rules, but the NCSC says it does not affect delivery. To stop spoofing you need quarantine or reject. Do these records help my Google rankings? They are email records, read by mail servers, not crawlers. They help the emails that follow a visit arrive. Related words SPF record DKIM DMARC Email deliverability DNS records MX record DNS Domain name Sources Google Workspace Admin Help: Email sender guidelines, checked 24 November 2026 Google: Email sender guidelines FAQ, checked 24 November 2026 Google Workspace Admin Help: Set up DMARC (last updated 10 November 2026), checked 24 November 2026 Google Workspace Admin Help: Set up SPF (last updated 10 November 2026), checked 24 November 2026 Google Workspace Admin Help: Set up DKIM (last updated 10 November 2026), checked 24 November 2026 Gmail Help, viewing an email’s full headers, checked 24 November 2026 Yahoo, Sender best practices, checked 24 November 2026 Microsoft, Outlook’s new requirements for high-volume senders (April 2025), checked 24 November 2026 RFC 7208, Sender Policy Framework (SPF) (April 2014), checked 24 November 2026 RFC 6376, DKIM Signatures (September 2011), checked 24 November 2026 RFC 9989, DMARC (May 2026), checked 24 November 2026 RFC 8058, Signaling One-Click Functionality for List Email Headers (January 2017), checked 24 November 2026 NCSC, Monitor, analyse and update your DNS records, checked 24 November 2026 NCSC, Protecting parked domains, checked 24 November 2026 Updated 24 November 2026 by URSY.com.",
    "source": "https://ursy.com/wiki/spf-dkim-dmarc-explained/"
}