---
title: "How to add DNS records to Cloudflare for Lettermint?"
description: "Step-by-step guide to add DMARC, DKIM and DNS records to Cloudflare to send transactional emails with Lettermint."
url: "https://lettermint.co/knowledge-base/guides/add-dns-records-cloudflare"
published: "2025-11-20"
last_updated: "2026-08-14"
---

# How to add DNS records to Cloudflare for Lettermint?

> Step-by-step guide to add DMARC, DKIM and DNS records to Cloudflare to send transactional emails with Lettermint.

Want to send emails with Lettermint using a domain with Cloudflare DNS?
This guide explains how to add the required DNS records. Setup takes just
a few minutes, and then you can start sending
[transactional emails](https://lettermint.co/features/transactional-emails)
with your own domain.

Cloudflare is a popular DNS provider with benefits like fast nameservers,
DDoS protection, and a user-friendly dashboard. Many companies choose
Cloudflare for this combination of speed and security. If your domain uses
Cloudflare DNS, adding DNS records is straightforward.

## What do you need?

- A [Lettermint](https://app.lettermint.co/register) account
- A [Cloudflare](https://www.cloudflare.com/) account
- A domain active in your Cloudflare account

## Step 1: Add domain in Lettermint

Log in to your Lettermint account and navigate to
[Domains](https://app.lettermint.co/domains). Click the **Add domain**
button and enter your domain name.

After adding, you'll immediately see which DNS records you need to configure.
Lettermint provides four records:

1. **DMARC record** – [DMARC](https://lettermint.co/knowledge-base/definitions/what-is-dmarc) protects your domain against abuse
2. **Domain key record `lm1`** – [DKIM](https://lettermint.co/knowledge-base/definitions/what-is-dkim) adds a digital signature to your email
3. **Domain key record `lm2`** – The second key, so Lettermint can rotate your DKIM key without a DNS change
4. **Bounce record** – Handles undelivered emails (bounces) correctly

> **Note:** You don't need to modify your SPF record. Lettermint uses the *Return-Path*
> method, so your current SPF record stays intact. Read more in our
> '[What is SPF](https://lettermint.co/knowledge-base/definitions/what-is-spf)' article.

Keep this screen open. You'll need these details for the next steps in
Cloudflare.

![Lettermint DNS records](https://lettermint.co/content/knowledgebase/lettermint-dns-records.webp)

## Step 2: Add DNS records in Cloudflare

Open the [Cloudflare dashboard](https://dash.cloudflare.com) in a new tab
and select the domain you added in step 1. Click **DNS** in the left menu
to go to the DNS settings.

In the *DNS management* of your domain, we'll add the 4 records Lettermint
needs to send emails.

### DMARC record

If you use another email service besides Lettermint, you might already have
a DMARC record in Cloudflare. In that case, you don't need to add a new one.

If you don't have one yet, click the **Add record** button. Enter the
following details:

- **Type**: TXT
- **Name**: `_dmarc`
- **Content**: The DMARC value from your Lettermint dashboard (for example:
`v=DMARC1; ...`)
- **TTL**: Auto

Click **Save** to add the record.

### Domain key records

Lettermint gives you two domain key records. Both are needed, so add them one
after the other.

Click **Add record** again. Enter the following details:

- **Type**: CNAME
- **Name**: `lm1._domainkey`
- **Target**: The `lm1` target from your Lettermint dashboard (ends with `.dkim.lmta.net`)
- **TTL**: Auto
- **Proxy status**: DNS Only

Click **Save**, then repeat these steps for the second record with **Name**`lm2._domainkey` and the `lm2` target from your dashboard.

> **Note:** Does your dashboard show a single **TXT** domain key record instead? Then your
> domain still uses the older setup. Add that TXT record as shown and read
> '[Managed DKIM and key rotation](https://lettermint.co/knowledge-base/deliverability/managed-dkim-and-key-rotation)'
> to switch over later.

### Bounce record

Click **Add record** once more. Enter the following details:

- **Type**: CNAME
- **Name**: The bounce subdomain from your Lettermint dashboard
- **Target**: The bounce target from your Lettermint dashboard (usually `bounces.lmta.net`)
- **TTL**: Auto
- **Proxy status**: DNS Only

> **Note:** Important: Make sure the proxy status is set to **DNS Only** (gray cloud).

Click **Save** to add the record.

![Cloudflare DNS Records](https://lettermint.co/content/knowledgebase/lettermint-dns-record-cloudflare.webp)

## Step 3: Verification in Lettermint

Open the Lettermint tab from step 1. Click the green **Verify all records**
button to check if Cloudflare has processed the DNS changes.

> **Note:** DNS changes can take several minutes to an hour before they're visible to
> third parties. Lettermint automatically rechecks in the background, and
> you'll receive an email when they're processed.

Once all records are found correctly, you'll see a green checkmark. Your
domain with Cloudflare DNS is now ready to send emails with Lettermint!

## Next steps

Now that your domain is correctly configured, you can start sending emails.
Consider separating different types of emails with an
[email subdomain](https://lettermint.co/knowledge-base/deliverability/what-is-an-email-subdomain-and-when-should-you-use-one).
This keeps your transactional emails separate from marketing emails, for
example.
