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

# DNS Setup

After your Mailcow Email service is provisioned, you must configure DNS records for your domain. These records ensure email delivery, authentication, and client auto-configuration all work correctly.

## Finding Your DNS Records

1. Open the customer portal at `console.digitalfyre.com`
2. Navigate to **Services** and open your Mailcow Email service
3. Click the **DNS Records** tab

The portal displays all required records with the exact values for your server. The server hostname varies by location and assignment (e.g., `us-nyc-1.mailcraft.io`).

## Required Records

The DNS Records tab shows the following records. Add each one to your domain's DNS provider.

### MX Record

Directs incoming email to your Mailcow server.

| Type | Host | Priority | Value |
| - | - | - | - |
| MX | `yourdomain.com` | `10` | `(your server).mailcraft.io` |

### SPF Record

Authorizes your Mailcow server to send email on behalf of your domain. Helps prevent spoofing and improves deliverability.

| Type | Host | Value |
| - | - | - |
| TXT | `yourdomain.com` | `v=spf1 mx include:spf.mailcraft.io ~all` |

### DKIM Record

Adds a cryptographic signature to outgoing email, proving it was sent from an authorized server.

| Type | Host | Value |
| - | - | - |
| TXT | `dkim._domainkey.yourdomain.com` | (DKIM public key shown in portal) |

The DKIM key is a long string unique to your domain. Copy the full value from the DNS Records tab.

### DMARC Record

Tells receiving servers what to do with email that fails SPF or DKIM checks.

| Type | Host | Value |
| - | - | - |
| TXT | `_dmarc.yourdomain.com` | `v=DMARC1; p=quarantine; rua=mailto:postmaster@yourdomain.com` |

### Autodiscover and Autoconfig CNAMEs

Enable automatic email client configuration for Outlook, Thunderbird, and mobile devices.

| Type | Host | Value |
| - | - | - |
| CNAME | `autodiscover.yourdomain.com` | `(your server).mailcraft.io` |
| CNAME | `autoconfig.yourdomain.com` | `(your server).mailcraft.io` |

## Verification

After adding all records, allow time for DNS propagation (typically a few minutes to a few hours). You can verify your records using DigitalFyre's DNS tools or any online DNS lookup service.

> [!WARNING]
>
> Missing or incorrect DNS records will cause email delivery failures. The MX record is essential for receiving email. SPF, DKIM, and DMARC are essential for deliverability — without them, your outgoing email is likely to be flagged as spam or rejected by receiving servers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.