SMIMEA Record

S/MIME Certificate Association

Type code
53
Status
In use
Defined in
RFC 8162

What the SMIMEA record is for

SMIMEA applies the TLSA format to S/MIME email. A sender who wants to encrypt mail to an address, or check a signed message, can look up the recipient certificate in the recipient domain instead of exchanging it first.

The record is published under the _smimecert label of the address domain. The first label is the SHA-256 hash of the local part of the address (the part before the @), truncated to 28 octets and written in hex. So the record for an address at example.com sits at <hash>._smimecert.example.com.

The fields and their values are the same as TLSA. RFC 8162 is Experimental and client support is limited.

Wire format and fields

FieldSizeMeaning
Certificate Usage8 bitsAs in TLSA: 0 PKIX-TA, 1 PKIX-EE, 2 DANE-TA, 3 DANE-EE.
Selector8 bits0 for the full certificate, 1 for the SubjectPublicKeyInfo.
Matching Type8 bits0 for exact data, 1 for SHA-256, 2 for SHA-512.
Certificate Association DatavariableThe certificate, key or hash, in hex. To let senders encrypt without having the certificate already, it must be the full certificate (matching type 0).

Zone file syntax

<sha256(local part), 28 octets, hex>._smimecert.<domain> <ttl> IN SMIMEA <certificate usage> <selector> <matching type> <certificate association data (hex)>

Example

The SMIMEA record at a18603086e5bdf9df88ccc9f5a083fed093e819976e87456b74dafcb._smimecert.posteo.de, fetched from live DNS on 27 November 2026:

a18603086e5bdf9df88ccc9f5a083fed093e819976e87456b74dafcb._smimecert.posteo.de. 3575 IN SMIMEA 1 0 0 308206CE308204B6A00302010202101A03B8870E5DD60DB556AF1E37 91592C300D06092A864886F70D01010B0500304E310…

The record for support@posteo.de: the owner label is the truncated SHA-256 of "support". Usage 1, the full certificate, given in full. The certificate data is truncated here.

Common mistakes

  • Hashing the whole address, or the domain, instead of only the local part. The owner name then does not match what clients compute.
  • Publishing only a hash (matching type 1 or 2). A sender who does not already have the certificate cannot encrypt to it; publish the full certificate to support that.
  • Hashing a local part with different capitalization from the one clients use. The hash is over the exact bytes, so Alice and alice give different names.

Specifications

Related record types

Domain Intelligence APIs

Get started with our easy-to-use API docs.