> ## Documentation Index
> Fetch the complete documentation index at: https://help.flowforth.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding DNS Records in Cloudflare

> Step-by-step guide to adding your Flowforth DNS records in Cloudflare so you can send emails from your domain.

This guide walks you through adding the required DNS records in Cloudflare to verify your domain with Flowforth.

<Note>
  Before starting, make sure you've already [added your domain](/domains/manage-domains) in Flowforth. You'll need the DNS record values shown on the domain settings page.
</Note>

***

## Open DNS Settings in Cloudflare

1. Log in to your [Cloudflare account](https://cloudflare.com)
2. Select your domain
3. Go to **DNS → Records**

***

## Add the MX Record

Click **Add record**:

1. Set the **Type** to `MX`
2. Enter the name from Flowforth (e.g., `send`) in the **Name** field
3. Copy the **MX Value** from Flowforth into the **Mail Server** field
4. Set the **Priority** to `10`
5. Use the default `Auto` for **TTL**
6. Click **Save**

<Note>
  Cloudflare automatically appends your domain to the Name field. Enter only the subdomain portion — for example, type `send` instead of `send.example.com`.
</Note>

| Cloudflare  | Flowforth | Example Value                           |
| ----------- | --------- | --------------------------------------- |
| Type        | Type      | `MX`                                    |
| Name        | Name      | `send`                                  |
| Mail Server | Value     | `feedback-smtp.us-east-1.amazonses.com` |
| Priority    | Priority  | `10`                                    |
| TTL         | —         | `Auto`                                  |

***

## Add the SPF Record (TXT)

Click **Add record**:

1. Set the **Type** to `TXT`
2. Enter the name from Flowforth (e.g., `send`) in the **Name** field
3. Copy the **TXT Value** from Flowforth into the **Content** field
4. Use the default `Auto` for **TTL**
5. Click **Save**

<Note>
  Cloudflare automatically appends your domain to the Name field. Enter only the subdomain portion — for example, type `send` instead of `send.example.com`.
</Note>

| Cloudflare | Flowforth | Example Value                         |
| ---------- | --------- | ------------------------------------- |
| Type       | Type      | `TXT`                                 |
| Name       | Name      | `send`                                |
| Content    | Value     | `"v=spf1 include:amazonses.com ~all"` |
| TTL        | —         | `Auto`                                |

***

## Add the DKIM Record (TXT)

Click **Add record**:

1. Set the **Type** to `TXT`
2. Enter the DKIM name from Flowforth (e.g., `resend._domainkey`) in the **Name** field
3. Copy the **DKIM Value** from Flowforth into the **Content** field
4. Use the default `Auto` for **TTL**
5. Click **Save**

<Note>
  Cloudflare automatically appends your domain to the Name field. Enter only `resend._domainkey` instead of `resend._domainkey.example.com`.
</Note>

| Cloudflare | Flowforth | Example Value                |
| ---------- | --------- | ---------------------------- |
| Type       | Type      | `TXT`                        |
| Name       | Name      | `resend._domainkey`          |
| Content    | Value     | `p=example_domain_key_value` |
| TTL        | —         | `Auto`                       |

***

## Add the DMARC Record (TXT)

While not strictly required, adding a DMARC record is highly recommended. It improves deliverability and protects your domain's reputation.

<Note>
  If your domain already has a DMARC record, you do not need to add another one. You can check by looking for an existing `TXT` record with the name `_dmarc` in your Cloudflare DNS records.
</Note>

Click **Add record**:

1. Set the **Type** to `TXT`
2. Enter the DMARC name from Flowforth (e.g., `_dmarc`) in the **Name** field
3. Copy the **DMARC Value** from Flowforth into the **Content** field
4. Use the default `Auto` for **TTL**
5. Click **Save**

| Cloudflare | Flowforth | Example Value       |
| ---------- | --------- | ------------------- |
| Type       | Type      | `TXT`               |
| Name       | Name      | `_dmarc`            |
| Content    | Value     | `v=DMARC1; p=none;` |
| TTL        | —         | `Auto`              |

***

## Add the Tracking Records (Optional)

If you enabled click tracking or open tracking when adding your domain in Flowforth, you'll need to add these two additional records. You can also enable tracking later from the domain detail page in Flowforth — the records will appear in your DNS table when tracking is turned on.

### CNAME Record (Tracking)

Click **Add record**:

1. Set the **Type** to `CNAME`
2. Enter `links` in the **Name** field
3. Enter `links1.resend-dns.com` in the **Target** field
4. Make sure the **Proxy status** is set to **DNS only** (grey cloud icon)
5. Use the default `Auto` for **TTL**
6. Click **Save**

<Warning>
  The CNAME tracking record **must not be proxied** through Cloudflare. Make sure the orange cloud icon is toggled off (grey cloud / DNS only). If proxied, tracking verification will fail.
</Warning>

| Cloudflare | Flowforth | Value                   |
| ---------- | --------- | ----------------------- |
| Type       | Type      | `CNAME`                 |
| Name       | Name      | `links`                 |
| Target     | Value     | `links1.resend-dns.com` |
| Proxy      | —         | DNS only (grey cloud)   |
| TTL        | —         | `Auto`                  |

### CAA Record (Tracking)

Click **Add record**:

1. Set the **Type** to `CAA`
2. Enter your domain in the **Name** field (e.g., `example.com` or `@`)
3. Set the **Tag** to `issue`
4. Enter `amazon.com` in the **CA domain name** field
5. Use the default `Auto` for **TTL**
6. Click **Save**

| Cloudflare     | Flowforth | Value                           |
| -------------- | --------- | ------------------------------- |
| Type           | Type      | `CAA`                           |
| Name           | Name      | `@`                             |
| Tag            | —         | `Only allow specific hostnames` |
| CA domain name | Value     | `amazon.com`                    |
| TTL            | —         | `Auto`                          |

***

## Verify in Flowforth

Once all records are added in Cloudflare, go back to your domain in **Settings → Domains** and click the **"Records Added"** button. Flowforth will check your DNS records and verify the setup in the background.

<Note>
  DNS changes can take anywhere from a few minutes to several hours to propagate. If verification doesn't succeed right away, wait and try again later.
</Note>

***

## Troubleshooting

* **Verification failed**: Double-check the records you added in Cloudflare for copy/paste errors. Make sure you're using only the subdomain portion in the Name field (e.g., `send` not `send.example.com`).
* **Priority conflict**: If priority `10` is already in use on another MX record, use a different value like `20` or `30`.
* **Still not verifying after 72 hours**: Contact [support@flowforth.co](mailto:support@flowforth.co) and we'll help you debug the issue.

***

If you need help, contact [support@flowforth.co](mailto:support@flowforth.co).
