DMARC Engine
Home/Blog/Troubleshooting DANE and DNSSEC Configuration Issues for SMTP
Blog

Troubleshooting DANE and DNSSEC Configuration Issues for SMTP

Troubleshoot DANE and DNSSEC configuration issues for SMTP with expert guidance, step-by-step guides, and real-world examples to ensure email authentication and delivery

4 November 2026 · DMARC Engine · 9 min read

Troubleshooting DANE and DNSSEC Configuration Issues for SMTP
Key takeaways
  • Verify DNS records with dig
  • Use online tools to check DANE format
  • Publish DANE records on your domain
  • Check DNSSEC chain of trust

Common Pain Points in DANE and DNSSEC Configuration

A common pattern is for organisations to struggle with DANE and DNSSEC configuration due to the complexity of DNS record management. Receivers typically expect a valid DANE record, such as

DNS record
TLSA 0 0 1 d2a85f686fa6b4c6757adf206c1ae20b1d307f12ad2a1e7a5291c152ddc56a05

to be published on a domain they control, not on a hosting or email provider's own hostname. The aggregate reports will show errors if the DANE record is not correctly configured.


A specific issue arises when using a hosted or managed setup, as the organisation may not have direct control over DNS record publication. For example, a hosted email provider may publish their own DANE records, which can lead to configuration conflicts. It is essential to ensure that the organisation has control over the DNS records for their domain to avoid such issues.

DNS record
example.com. IN TLSA 0 0 1 d2a85f686fa6b4c6757adf206c1ae20b1d307f12ad2a1e7a5291c152ddc56a05


Note:
When troubleshooting DANE and DNSSEC configuration issues, it is crucial to verify the DNS records using tools such as dig or online DNS record checkers to ensure that the records are correctly published and validated.

Understanding DANE Record Structure and SMTP Authentication

The DANE record structure is crucial for SMTP authentication, as it allows receivers to verify the identity of senders. A common pattern is for mail servers to use DANE records to specify the acceptable TLS certificates for a domain. The record structure typically includes the domain name, the protocol, and the TLSA record details. For example, a DANE record for the domain example.com might look like this:

DNS record
example.com. IN TLSA 3 0 1 4f6e6f65...

This record specifies that the domain example.com uses TLS with a certificate that matches the given hash. Receivers can then use this information to verify the identity of the sender and ensure that the email is authentic.

In a hosted or managed setup, the DANE record structure may be handled automatically by the provider. However, it is still important to understand the underlying structure and how it affects SMTP authentication. A key consideration is the use of multiple TLSA records for a single domain, which can be useful for specifying different certificates for different mail servers. For instance:

DNS record
smtp.example.com. IN TLSA 3 0 1 4f6e6f65...
mail.example.com. IN TLSA 3 0 1 64987a65...

This allows the domain owner to specify different certificates for different mail servers, which can be useful for load balancing or other purposes.

When configuring DANE records, it is essential to ensure that the records are correctly formatted and match the expected protocol and certificate details. The aggregate reports will show errors if the records are not correctly configured, which can lead to authentication issues and delivery problems.

DNS record
_dane.example.com. IN TLSA 3 0 1 4f6e6f65...

In this example, the underscore prefix is used to specify the DANE record for the example.com domain.


Tip: When troubleshooting DANE record issues, it is helpful to use online tools to verify the record format and contents, as these can quickly identify common errors and provide guidance on correcting them.

Step-by-Step Guide to Publishing DANE Records

To publish DANE records, you will need to create a TLSA record that specifies the certificate association data for your SMTP server. The TLSA record is typically published under the _25._tcp subdomain of your mail server's hostname. For example, if your mail server's hostname is mail.example.com, you would publish the TLSA record under _25._tcp.mail.example.com.

DNS record
_25._tcp.mail.example.com. IN TLSA 3 0 1 7a7e2e2e2e2e2e2e2e2e2e2e2e2e2e7a7a

This record specifies that the SMTP server uses a certificate with the given hash, and that the hash is associated with the SMTP protocol (port 25) and the TCP transport protocol. The 3 0 1 values in the record specify the certificate usage, selector, and matching type, respectively.


In a hosted or managed setup, your provider may handle the publication of DANE records for you, or may provide a web interface for you to manage the records yourself. However, in general, it is recommended to publish DANE records on the domain that you control, rather than relying on your provider to do so.

DNS record
; example.com zone file
$ORIGIN example.com.
$TTL 1h
_25._tcp.mail IN TLSA 3 0 1 7a7e2e2e2e2e2e2e2e2e2e2e2e2e2e7a7a

When publishing DANE records, it is essential to ensure that the records are correctly formatted and match the certificates used by your SMTP server. A common pattern is for receivers to use the DANE records to validate the certificate presented by the SMTP server during the TLS handshake. If the records do not match, the receiver may reject the email or mark it as spam.


The aggregate reports will show errors if the DANE records are not correctly configured, allowing you to identify and fix any issues.


> Tip: Use a tool such as dig or a DNS zone file editor to verify that your DANE records are correctly published and formatted.


Here are the steps to follow when publishing DANE records:

  • Determine the hostname of your SMTP server
  • Create a TLSA record with the correct certificate association data
  • Publish the TLSA record under the _25._tcp subdomain of your SMTP server's hostname
  • Verify that the record is correctly formatted and matches the certificates used by your SMTP server
  • Test the DANE configuration using a tool such as dig or a DNS zone file editor
Python
import dns.resolver

# example usage of dns.resolver to verify DANE record
answers = dns.resolver.resolve('_25._tcp.mail.example.com', 'TLSA')
for rdata in answers:
 print(rdata)

Troubleshooting DNSSEC Signing and Validation Issues

When troubleshooting DNSSEC signing and validation issues, a common pattern is to start by verifying the DNSSEC chain of trust. This involves checking the DS records in the parent zone, which should match the DNSKEY records in the child zone. For example, given a domain example.com, the DS record in the .com zone should point to the DNSKEY record in the example.com zone.

DNS record
example.com. IN DS 12345 8 2 47b6d7944c4a0b8a94f7f7f7f7f7f7f7f7f7f7f7


The corresponding DNSKEY record in the example.com zone would be:

DNS record
example.com. IN DNSKEY 256 3 8 AwEAAddt2b5K0YUWK0jZfJ4KUiyMW8J8km5OG7b5SO1HqgjLGP/5+8Fd3jWZb2N0x1aL9My9jgj9jgj9jgj9jg


Receivers typically validate the DNSSEC chain of trust by checking the DS records in the parent zone and the DNSKEY records in the child zone. If the DS records do not match the DNSKEY records, the validation will fail. In a hosted or managed setup, the hosting provider usually handles the DNSSEC signing and validation, but it is still important to verify that the DNSSEC chain of trust is correctly configured.


A list of common issues to check for includes:

* Mismatched DS and DNSKEY records
* Expired or revoked DNSKEY records
* Incorrectly configured DNSSEC signing and validation

Python
import dns.resolver

# Verify the DS record in the parent zone
ds_record = dns.resolver.resolve('example.com', 'DS')
print(ds_record)

# Verify the DNSKEY record in the child zone
dnskey_record = dns.resolver.resolve('example.com', 'DNSKEY')
print(dnskey_record)


Warning: Failure to correctly configure DNSSEC signing and validation can lead to email delivery issues, as some receivers may reject emails from domains with invalid DNSSEC configurations.

Analysing Aggregate Reports for DANE and DNSSEC Errors

When troubleshooting DANE and DNSSEC configuration issues for SMTP, analysing aggregate reports is crucial. The aggregate reports will show errors related to DANE and DNSSEC validation, such as TLSA record mismatches or DNSSEC validation failures.

A common pattern is for receivers to report DANE errors when the TLSA record is missing or incorrectly configured. For example, a missing TLSA record for a mail server with the hostname mail.example.com would result in an error report.

DNS record
example.com. IN TLSA 3 1 1 6a3fc29f6f2ab1947f83b9b5a2a7230c


This record snippet shows a correctly configured TLSA record for the domain example.com. However, if this record is missing or incorrectly configured, the aggregate reports will show errors.


Receivers typically report DNSSEC validation errors when the DNSSEC chain is broken or the DS record is missing. A hosted or managed setup may handle DNSSEC signing and validation differently, so it is essential to check the documentation for the specific setup.


Note:
> When analysing aggregate reports, it is crucial to check the report format and content to ensure that the reports are being generated correctly and contain the necessary information to troubleshoot DANE and DNSSEC errors.


The aggregate reports can be used to identify and fix DANE and DNSSEC configuration issues, ensuring that SMTP authentication and encryption work correctly. By analysing these reports, administrators can identify errors and take corrective action to resolve them.

Mitigating the Risks of DANE and DNSSEC Misconfiguration

A common pattern is for organisations to overlook the impact of DANE and DNSSEC misconfiguration on their email deliverability. Receivers typically handle misconfigured DANE records, such as

DNS record
TLSA 0 0 1 6a5b714ef1ec83b3b3b1f7f7b5b2a5c5

by falling back to opportunistic TLS, which may still allow email delivery but with reduced security.


To mitigate these risks, organisations should regularly review their DNS records and aggregate reports for any errors or warnings related to DANE and DNSSEC.

DNS record
dig +short TLSA _25._tcp.mail.example.com

may be used to verify the presence and correctness of DANE records.


> Tip: organisations using hosted or managed email services should consult their provider's documentation to understand how DANE and DNSSEC are handled in their setup, as some providers may have specific requirements or recommendations for configuring these protocols.

Best Practices for Maintaining DANE and DNSSEC Configuration

To maintain a stable DANE and DNSSEC configuration, it is crucial to regularly review and update DNS records. A common pattern is for administrators to set up DANE records, such as the following example:

DNS record
_dane.smtp.example.com. 3600 IN TLSA 3 1 1 8a3e3c2f0d1e2c3b2a1e2d3c2b1a

Receivers typically expect these records to be correctly formatted and up-to-date. The aggregate reports will show errors if the records are not properly configured.


A key consideration is the management of DNSSEC signing and validation. In a hosted setup, the provider may handle DNSSEC signing, but it is still important to verify that the records are correctly configured. For example, the following record snippet shows a correctly configured DNSSEC record:

DNS record
example.com. 3600 IN DNSKEY 257 3 8 AwEAAddt2zv6WYQJzZHo//Jk4gA4xL4+e7GRC8g6P4vJ4UQzJ4JL4

Note: When updating DNS records, it is essential to allow sufficient time for propagation, typically 48 hours, to prevent errors and ensure a smooth transition.


In terms of specific recommendations, a good practice is to use a consistent naming convention for DANE records, such as _dane.smtp.example.com, to simplify management and troubleshooting. Also, regularly reviewing aggregate reports can help identify potential issues before they become major problems.

Check your own domain

Share

See where your domain stands today

Run a free DMARC scan, then let us take you to enforced p=reject with no email outage.