Why is DMARC failing for my subdomain, and how does the Public Suffix List affect DMARC alignment?

Summary

DMARC failures on subdomains often arise from a combination of factors, including SPF and DKIM alignment issues, the impact of the Public Suffix List (PSL), and misconfigured subdomain DMARC policies. Alignment problems occur when the 'From:' header domain doesn't match the domain used for authentication (SPF or DKIM). The PSL affects how organizational domains are determined, potentially treating subdomains and parent domains separately. Explicitly defining subdomain DMARC policies and using relaxed alignment settings can help, especially with diverse sending infrastructures. Forwarding can break SPF alignment, and exceeding the SPF include limit or failing to set explicit authentication methods on subdomains are also common pitfalls. A past listing on the PSL can also cause persistent issues due to caching. Managing subdomain delegation, carefully configuring SPF/DKIM, and being mindful of root domain policies are critical for success.

Key findings

  • Alignment Problems: DMARC failures frequently stem from SPF and DKIM alignment issues, where the 'From:' header domain doesn't match the authentication domain.
  • PSL Influence: The Public Suffix List (PSL) affects how DMARC determines organizational domains, potentially causing misalignment between subdomains and parent domains.
  • Policy Configuration: Subdomain DMARC policies are often misconfigured, leading to failures if not explicitly set or if they conflict with parent domain policies.
  • Relaxed Alignment Benefits: Using relaxed alignment ('aspf=r' or 'adkim=r') can improve DMARC results, especially when different sending providers are used for subdomains.
  • Persistent PSL Issues: Past listings on the PSL can continue to cause DMARC problems due to caching, even after the domain is removed.
  • Delegation issues: Managing Subdomain delegation has not been taken into consideration

Key considerations

  • SPF/DKIM Setup: Ensure proper SPF and DKIM configuration for each subdomain, aligning with the 'From:' domain.
  • PSL Awareness: Be aware of the Public Suffix List (PSL) and its potential impact on subdomain alignment, including the possibility of persistent issues due to caching.
  • Explicit Policies: Define explicit DMARC policies for subdomains, avoiding conflicts with parent domain policies and considering relaxed alignment.
  • Sending Infrastructure: Pay close attention to SPF and DKIM setup when using different sending infrastructures for subdomains, and consider SPF flattening if the include limit is reached.
  • Forwarding Impact: Be aware that forwarding can break SPF alignment, leading to DMARC failures.

What email marketers say
10Marketer opinions

DMARC failures on subdomains often stem from issues related to SPF and DKIM misalignment, particularly regarding the 'From:' header domain. The Public Suffix List (PSL) can also cause misalignment if a subdomain and its parent domain are both listed, treating them as separate entities. Explicitly defining subdomain DMARC policies and using relaxed alignment settings ('aspf=r' or 'adkim=r') can help, especially when using different sending providers for subdomains. Managing subdomain delegation and ensuring proper SPF and DKIM configuration for each subdomain's infrastructure is also crucial. Forwarding can break SPF alignment, leading to DMARC failures. Exceeding the SPF include limit and not setting explicit authentication methods on subdomains are other common pitfalls.

Key opinions

  • PSL Impact: The Public Suffix List (PSL) can cause DMARC alignment issues if both the subdomain and its parent domain are listed, treating them as separate entities.
  • Alignment Issues: SPF and DKIM misalignment, particularly concerning the 'From:' header domain, is a frequent cause of DMARC failures on subdomains.
  • Explicit Policies: Explicitly defining DMARC policies for subdomains is crucial to ensure they don't default to restrictive settings.
  • Relaxed Alignment: Using relaxed alignment settings ('aspf=r' or 'adkim=r') can mitigate DMARC failures, especially when different providers are used for subdomains.
  • SPF Include Limit: Exceeding the SPF include limit (10 DNS lookups) can lead to SPF check failures, affecting DMARC results.
  • Explicit Authentication Method: DMARC requires you to explicitly set an authentication method to SPF or DKIM on either the subdomain itself or on the root domain.

Key considerations

  • Subdomain Delegation: Carefully manage subdomain delegation, especially when different teams or services use different subdomains.
  • Infrastructure Configuration: Ensure proper SPF and DKIM configuration for each subdomain's unique sending infrastructure.
  • Forwarding Impact: Be aware that forwarding can break SPF alignment, causing DMARC failures.
  • Policy Restrictiveness: Avoid overly restrictive DMARC records for subdomains; consider using relaxed alignment for better compatibility.
  • SPF Flattening: If using multiple third-party services and approaching the SPF include limit, consider using SPF flattening.
Marketer view

Email marketer from StackOverflow shares that DMARC failures often stem from SPF and DKIM misalignment. Specifically, the 'header from' domain should align with the domain that passes SPF or DKIM. He shares that if your subdomain is sending emails, and the SPF record is misconfigured to include the top level domain, this may cause a problem if there are different providers sending from the subdomains. Additionally DMARC needs to be explicitly set to 'relaxed' alignment

December 2024 - StackOverflow
Marketer view

Email marketer from Mailhardener explains that the Public Suffix List (PSL) can impact DMARC alignment. The PSL defines which domains are considered top-level domains. If a subdomain and its parent domain are both on the PSL, they are treated as separate entities, and DMARC alignment will fail unless explicitly configured to allow it.

October 2022 - Mailhardener
Marketer view

Email marketer from Reddit shares that using relaxed alignment by setting the 'aspf' or 'adkim' tag in your DMARC record to 'r' can help fix some DMARC failures on subdomains, especially when using different sending providers for your subdomains. It makes DMARC more forgiving on subdomain mismatches in SPF and DKIM.

December 2023 - Reddit
Marketer view

Email marketer from EasyDMARC shares that subdomain DMARC policies are crucial for ensuring proper DMARC alignment. If a subdomain policy is not explicitly set, it may default to a more restrictive setting, causing DMARC failures even if the parent domain passes. This can be especially problematic when using different sending sources for subdomains.

February 2024 - EasyDMARC
Marketer view

Email marketer from Email Security Forum explains that exceeding the SPF include limit (10 DNS lookups) is a common issue. When sending from multiple subdomains using various third-party services, it's easy to reach this limit, causing SPF checks to fail, consequently affecting DMARC. Use of SPF flattening might be necessary.

December 2021 - Email Security Forum
Marketer view

Email marketer from Valimail explains that managing DMARC for subdomains requires careful planning. Subdomain delegation or individual subdomain policies are important, especially if different teams or services use different subdomains. If subdomains use different sending infrastructures, each must be correctly configured with SPF and DKIM.

March 2022 - Valimail
Marketer view

Email marketer from Email Geeks Forum explains that the user should check that their DMARC record isn't too restrictive for their subdomains. Setting the alignment mode to relaxed (r) and defining clear policies can prevent unexpected DMARC failures. Subdomains need specific attention to avoid overly strict rules.

September 2023 - Email Geeks Forum
Marketer view

Email marketer from Mailjet shares that DMARC requires you to explicitly set an authentication method to SPF or DKIM. If you are sending mail from a subdomain, you need to either set up SPF and DKIM on the subdomain itself, or on the root domain. Mailjet goes on to say that even if both are setup on the root domain, it is important that the correct method is being used on the subdomain for alignment checks.

November 2023 - Mailjet
Marketer view

Email marketer from Email Deliverability Forum mentions that forwarding can cause DMARC failures because it often breaks SPF alignment. When an email is forwarded, the original SPF record no longer matches the forwarding server's IP, leading to DMARC failing the SPF check. This affects subdomains and parent domains equally.

March 2021 - Email Deliverability Forum
Marketer view

Email marketer from Email Deliverability Forum mentions that explicitly defining alignment settings in the DMARC record is critical. Ensure the 'aspf' and 'adkim' tags are correctly configured. Using 'r' (relaxed) is usually recommended for subdomains to allow for slight variations in domain alignment.

November 2024 - Email Deliverability Forum

What the experts say
5Expert opinions

DMARC failures on subdomains can be attributed to the domain being previously listed on the Public Suffix List (PSL), which is cached and persists even after removal. The PSL influences how DMARC determines organizational domains for alignment, affecting whether subdomains are treated as part of the parent domain. This impacts SPF and DKIM authentication, potentially leading to alignment failures. To mitigate this, avoid using the bare domain in email communications or consider not adding your domain to the PSL in the first place. Also, publishing DMARC records on the root domain might enable subdomains to inherit the policy.

Key opinions

  • PSL Caching: The Public Suffix List (PSL) is cached, meaning past listings can continue to affect DMARC even after removal.
  • Organizational Domains: The PSL influences how DMARC determines organizational domains, which affects alignment between subdomains and parent domains.
  • Alignment Impact: PSL listings can cause DMARC to treat subdomains as separate entities, leading to authentication failures.
  • Domain Use: Using the bare domain in email communications can lead to authentication problems due to PSL-related alignment issues.

Key considerations

  • Avoid PSL Listing: Carefully consider the implications before adding your domain to the Public Suffix List.
  • Root Domain Policy: Publishing DMARC records on the root domain can enable subdomains to inherit the policy, simplifying management.
  • Alternative Domains: Consider using an alternative domain if issues persist due to past PSL listings.
  • Domain Usage: Be cautious of using bare domain names in email addresses.
Expert view

Expert from Word to the Wise explains not to add your domain to the Public Suffix List. He shares the PSL's original purpose was to isolate cookies and now it also affects email. Because it causes issues with email authentication he says not to request your domain be added to the list.

October 2022 - Word to the Wise
Expert view

Expert from Word to the Wise explains how organizational domains, influenced by the Public Suffix List (PSL), impact DMARC. He shares that DMARC relies on the concept of organizational domains to determine if the domain in the 'From:' header aligns with the domain used for SPF or DKIM authentication. The PSL defines which domains are considered top-level domains, affecting how DMARC evaluates alignment. He also explains how DMARC alignment could fail unexpectedly if the sending and receiving domains aren't considered to be in the same organizational domain.

March 2022 - Word to the Wise
Expert view

Expert from Email Geeks explains that when DMARC checks for alignment between two hostnames, it gets the TLD+1 for each hostname using the public suffix list, then compares them. But the TLD+1 for m.ghost.io using the older version of the public suffix list is m.ghost.io, not ghost.io.

April 2023 - Email Geeks
Expert view

Expert from Email Geeks suggests that the user can publish DMARC on ghost.io and the sub domains will inherit that policy.

April 2023 - Email Geeks
Expert view

Expert from Email Geeks explains that the DMARC failures are caused by ghost.io being in the Public Suffix List (PSL) at some point in the past. Because the PSL is cached, the problems persist even after removal from the list. He notes that the PSL was originally designed for browsers to ensure cookies were only accessible by the same website that set them. It was later adopted by the DMARC community for email alignment. He advises to mitigate it by either not using ghost.io for email or being very careful to never use the bare ghost.io hostname in email.

January 2024 - Email Geeks

What the documentation says
5Technical articles

DMARC failures on subdomains are frequently caused by SPF or DKIM alignment issues, where the domain in the 'From:' header doesn't match the domain used for authentication. The Public Suffix List (PSL) plays a crucial role in determining the organizational domain for alignment, potentially causing subdomains and parent domains to be treated separately if the PSL is in effect. Proper configuration of SPF and DKIM records for each subdomain is essential, ensuring alignment with the 'From:' domain. Conflicts with the parent domain's DMARC policy must be avoided. RFC7489 highlights the 'organizational domain' check and the impact of the PSL on this check.

Key findings

  • Alignment is Key: DMARC failures often arise from misalignment between the 'From:' header domain and the domain used for SPF or DKIM authentication.
  • PSL Influence: The Public Suffix List (PSL) determines the organizational domain, impacting how subdomains and parent domains align for DMARC checks.
  • Subdomain Configuration: Proper SPF and DKIM configuration is crucial for each subdomain to ensure DMARC passes.
  • Conflict Avoidance: Conflicts between subdomain and parent domain DMARC policies can lead to DMARC failures.

Key considerations

  • Authentication Setup: Carefully configure SPF and DKIM records for each subdomain, ensuring correct alignment with the 'From:' domain.
  • PSL Awareness: Be aware of the Public Suffix List (PSL) and its potential impact on subdomain alignment.
  • Policy Management: Manage DMARC policies for subdomains to prevent conflicts with parent domain policies.
  • Third-Party Senders: Pay close attention to SPF and DKIM setup when using third-party senders for subdomains.
Technical article

Documentation from Microsoft explains that a common reason for DMARC failure is incorrect SPF or DKIM setup on the subdomain. The domain used in the 'From:' header needs to align with the SPF or DKIM records for that specific subdomain. Misalignment, especially with third-party senders, can lead to DMARC failures.

July 2021 - Microsoft
Technical article

Documentation from Google explains that DMARC failures can occur due to SPF or DKIM alignment issues. If the domain in the 'From:' header doesn't match the domain used to authenticate the email (either SPF or DKIM), DMARC will fail. Subdomain DMARC policies can also be misconfigured, leading to failures if not set up correctly to handle subdomain sending.

April 2024 - Google
Technical article

Documentation from RFC7489 explains that to determine if the domains in SPF, DKIM and the From header are aligned, an 'organizational domain' check is performed. This checks that each of these share the same organizational domain. If you are sending from a subdomain, this may be different from the From domain, causing DMARC to fail. You can configure these policies by using relaxed or strict policies. The public suffix list (PSL) impacts how the organizational domain is determined.

April 2023 - RFC-Editor.org
Technical article

Documentation from AuthSMTP notes that for DMARC to pass for subdomains, SPF and DKIM records must be properly configured for those specific subdomains. It should also be confirmed that there are no conflicts with the parent domain's DMARC policy. Each subdomain needs its own set of valid authentication records.

January 2025 - AuthSMTP
Technical article

Documentation from DMARC.org highlights that the PSL is used to determine the organizational domain for alignment purposes. If a domain is on the PSL, it is treated as a top-level domain for DMARC checks. This impacts subdomain alignment because the subdomain and parent domain may not align as expected if the PSL is in play.

January 2025 - DMARC.org