Learning Centre

What Are Spf, Dkim And Dmarc?

Learn what SPF, DKIM and DMARC do, how these DNS email authentication records protect your domain, reduce spoofing risk and support better business email deliverability.

On this page

    Definition

    SPF, DKIM and DMARC

    SPF, DKIM and DMARC are email authentication records stored in DNS. They help receiving mail servers check whether an email really came from an authorised sender, whether it was altered in transit, and what to do if the message fails those checks.

    These records can improve email deliverability and reduce spoofing risk, but they do not guarantee inbox placement. Spam filtering also depends on sender reputation, email content, user behaviour and provider rules.

    Key Takeaways

    • SPF tells receiving mail servers which systems are authorised to send email for your domain.
    • DKIM adds a digital signature so the receiving server can check that the message has not been changed after it was sent.
    • DMARC connects SPF and DKIM to a policy, helping domain owners monitor, quarantine or reject suspicious email.

    Quick Explanation

    Why Email Authentication Matters

    Business email depends on trust. When you send an invoice, proposal, password reset, booking confirmation or website enquiry reply, the receiving mail server needs a way to decide whether that message is legitimate. SPF, DKIM and DMARC help provide that proof. They sit in your domain’s DNS records and give other mail systems instructions for checking email sent from your domain. Without correct email authentication, legitimate messages may be rejected, delayed or placed in spam. Worse, attackers may be able to spoof your domain, making fake messages appear as though they came from your business. This can affect customer trust, supplier communication and day-to-day operations. The three records work together, but they do different jobs. SPF checks whether the sending server is allowed. DKIM checks whether the message carries a valid signature. DMARC checks whether those results align with the visible sender and tells the receiving server how strict to be.
    Email authentication is controlled through DNS records connected to your business domain.
    Email authentication is controlled through DNS records connected to your business domain.

    The Three Email Authentication Records

    SPF, DKIM and DMARC are often discussed together, but each record answers a different question during email verification.

    SPF
    Sender Policy Framework is a DNS TXT record that lists the mail servers and platforms authorised to send email for a domain. For example, it may authorise Microsoft 365, a website server, an invoicing platform or a marketing email platform.
    DKIM
    DomainKeys Identified Mail uses a private signing key and a public DNS record to verify that a message has not been altered after sending. The public key is published in DNS, while the sending platform signs outgoing messages.
    DMARC
    Domain-based Message Authentication, Reporting and Conformance uses SPF and DKIM results with alignment checks. It tells receiving servers whether to monitor, quarantine or reject messages that fail authentication.

    How It Works

    How Receiving Mail Servers Check an Email

    Email authentication happens behind the scenes each time a receiving mail server evaluates a message. The exact checks vary by provider, but the broad process looks like this.

    1. The receiving server checks SPF

      The server looks up the sender domain’s SPF record in DNS and checks whether the sending IP address or sending service is authorised. If the message came from an approved source, SPF can pass.

    2. The receiving server checks DKIM

      The server looks for a DKIM signature in the email headers. It then uses the public key published in DNS to confirm that the signature is valid and that important parts of the message were not changed.

    3. The receiving server applies DMARC

      DMARC checks whether SPF or DKIM passed and whether the authenticated domain aligns with the visible From address. It then applies the domain owner’s policy, such as monitoring, quarantine or rejection.

    Example DNS Records for Email Authentication

    The records below are simplified examples only. Your actual SPF, DKIM and DMARC values depend on your email provider, domain setup and connected sending platforms.

    dns
    @ TXT "v=spf1 include:spf.protection.outlook.com -all"
    
    selector1._domainkey TXT "v=DKIM1; k=rsa; p=PUBLICKEYGOESHERE"
    
    _dmarc TXT "v=DMARC1; p=none; rua=mailto:[email protected]; adkim=s; aspf=s"

    Do not copy these records directly. Incorrect DNS records can interrupt email delivery or cause legitimate messages to fail authentication.

    Authentication Is Not the Same as Inbox Placement

    SPF, DKIM and DMARC help receiving servers trust your email, but they do not force messages into the inbox. Deliverability also depends on sender reputation, message quality, recipient engagement, spam filtering rules and the behaviour of third-party email providers.

    Business Impact

    How SPF, DKIM and DMARC Affect a Business

    Email authentication is not just a technical housekeeping task. It can affect whether important business communication is trusted by customers, suppliers, banks, software platforms and internal staff. If your SPF record is missing or too restrictive, a legitimate system may not be allowed to send on your behalf. This can affect website form notifications, CRM emails, invoices, booking confirmations or marketing emails. If your SPF record is too loose, it may authorise more sending sources than necessary. If DKIM is not enabled, receiving servers lose an important way to confirm that an email has not been changed after it was sent. This is especially important for businesses using cloud email providers, automated platforms or third-party tools that send on behalf of the domain. If DMARC is missing, your domain may still pass SPF or DKIM in some cases, but you do not have a clear published policy for failed messages. DMARC reporting can also help reveal unauthorised sending sources, misconfigured tools or spoofing attempts. For businesses, the practical goal is simple: make legitimate email easier to trust and suspicious email easier to identify.
    Correct email authentication supports trust across customer communication, forms, invoices and business systems.
    Correct email authentication supports trust across customer communication, forms, invoices and business systems.

    Common SPF, DKIM and DMARC Mistakes

    Many email deliverability issues come from small DNS mistakes. These are common problems we look for during email and DNS reviews.

    Adding multiple SPF records to the same domain

    Do this instead

    A domain should normally have one SPF record. If you use several sending platforms, they need to be combined into a single valid SPF record rather than published as separate records.

    Setting DMARC to reject before checking legitimate senders

    Do this instead

    A strict DMARC policy can be useful, but it should be introduced carefully. Starting with monitoring can help identify approved platforms before quarantine or reject policies are applied.

    Forgetting website forms and third-party platforms

    Do this instead

    Email authentication should account for every legitimate sender, including Microsoft 365, website servers, CRMs, booking systems, invoicing tools and email marketing platforms where they are used.

    Troubleshooting Email Authentication Problems

    If your business emails are being rejected, marked as spam or failing authentication checks, the cause is often found in DNS, email platform settings or third-party sending tools.

    Emails from Microsoft 365 work, but website form emails fail

    Likely cause

    The website server or form sending service may not be authorised in SPF, or it may not be signing with DKIM. The visible From address may also fail DMARC alignment.

    Solution

    Review the sending method used by the website and configure it through an authenticated mail service where appropriate. Check SPF, DKIM and DMARC alignment before changing live records.

    A marketing platform says the domain is not authenticated

    Likely cause

    The required DNS records may be missing, entered incorrectly or still propagating. Some platforms require CNAME records for DKIM rather than a TXT record.

    Solution

    Compare the platform’s required records with the live DNS zone. Allow for DNS propagation, then re-check verification inside the sending platform.

    Legitimate emails fail after a DMARC policy change

    Likely cause

    A strict DMARC policy may have been applied before all approved senders were configured correctly. Some systems may pass SPF or DKIM but fail domain alignment.

    Solution

    Review DMARC reports where available, identify legitimate failed sources, correct authentication, then adjust the DMARC policy in a controlled way.

    Email Authentication Review Checklist

    Use this checklist when reviewing SPF, DKIM and DMARC for a business domain. It is especially useful before changing email providers, launching a new website or adding a third-party sending platform.

    • List every system that sends email for the domain

      Include Microsoft 365 or another mailbox provider, the website, CRM, invoicing tools, booking systems, marketing platforms and support software.

    • Check that DNS records are valid and not duplicated

      Confirm there is only one SPF record, DKIM records match the sending provider’s requirements, and the DMARC record is syntactically correct.

    • Review DMARC policy and reporting before tightening enforcement

      Monitoring can help identify legitimate email sources before moving to quarantine or reject policies. This reduces the risk of blocking valid business email.

    Benefits and Limits of SPF, DKIM and DMARC

    What They Help With

    • They help receiving mail servers verify whether a message is likely to be legitimate.
    • They reduce the risk of basic domain spoofing and support clearer handling of failed messages.
    • They provide a stronger technical foundation for business email deliverability.

    What They Do Not Guarantee

    • They do not guarantee that every message will reach the inbox.
    • They do not prevent all phishing, especially attacks using lookalike domains.
    • They do not replace good email content, sender reputation management or secure account practices.

    When to Review

    When Should SPF, DKIM and DMARC Be Checked?

    Email authentication should be reviewed whenever your sending environment changes. DNS records are often set once and forgotten, but a business may add new tools over time without checking how those tools send mail. A review is worthwhile when you move to Microsoft 365, change email providers, launch a new website, migrate hosting, add a CRM, connect an email marketing platform or start sending invoices from new software. It is also sensible after staff report emails going to spam or customers say they are not receiving important messages. You can handle simple provider verification records internally if you are confident with DNS and have clear instructions from the email platform. The risk is that one incorrect change can affect website forms, mailbox delivery or third-party platform verification. Professional help is often justified when multiple providers are involved, access is unclear, old DNS records are undocumented, email is business-critical or your domain has already developed deliverability issues.
    Email authentication should be reviewed when domains, hosting, email platforms or sending tools change.
    Email authentication should be reviewed when domains, hosting, email platforms or sending tools change.

    Our Approach

    How We Configure Business Email Authentication

    We treat email authentication as part of the wider digital foundation, not as an isolated DNS task. Your domain, website, hosting, email platform and third-party systems often depend on the same DNS zone, so changes need to be planned carefully. As part of email hosting and management, we help configure custom domain email, DNS authentication, mailbox setup, migration and ongoing technical support where included in the relevant service. We primarily use Microsoft 365 for business email hosting, while other reputable providers may be used depending on client requirements. We also provide email deliverability audits where a business needs to understand why messages are landing in spam, failing authentication or being rejected. That review may include SPF, DKIM, DMARC, MX records, sending platforms, DNS consistency and the way website forms send mail. Where DNS management is involved, we coordinate domain, hosting and email settings to reduce provider finger-pointing. We use Cloudflare for DNS infrastructure, DDoS protection and SSL/TLS management where appropriate. Even with a careful setup, email delivery and inbox placement cannot be guaranteed because third-party providers and spam filters still apply their own rules.
    A structured email setup reduces confusion between domain, DNS, hosting and mailbox providers.
    A structured email setup reduces confusion between domain, DNS, hosting and mailbox providers.

    SPF, DKIM and DMARC FAQs

    These questions cover the practical concerns businesses often have when setting up or reviewing email authentication.

    Do I need all three records?

    In most business email setups, yes. SPF, DKIM and DMARC work together. SPF and DKIM provide authentication checks, while DMARC uses those checks to apply a policy and provide reporting.

    Can SPF, DKIM and DMARC stop all spam?

    No. They help protect your domain from spoofing and improve authentication, but they do not stop all spam or phishing. Spam filtering also depends on sender reputation, content and provider rules.

    Can incorrect DNS records break my email?

    Yes. Incorrect SPF, DKIM, DMARC or MX records can cause legitimate messages to fail, delay verification or affect delivery. Changes should be checked carefully, especially for business-critical email.

    Need Help With Email Authentication?

    If your emails are landing in spam, your DNS records are unclear or you are planning an email migration, we can review your setup and help configure SPF, DKIM and DMARC correctly.

    Discuss Your Email Requirements Learn About Domain Management

    Keep learning

    Tap to call
    Enquire now

    Ask Dobble

    Ask a question

    Send us your question and the Dobble team will get back to you.

    Prefer to talk to us directly?

    Get in touch

    Contact us

    Tell us about your project and the Dobble team will be in touch shortly.

    Prefer to talk to us directly?