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

# Add a Sending Domain

> Learn how to add a sending domain in Nuntly. Configure DKIM, SPF, DMARC, and MX DNS records, import a zone file, and enable open and click tracking.

A sending domain is the domain that appears as the sender address in your emails (for example, `you@yourdomain.com`). You need to verify ownership of the domain by adding specific DNS records provided by Nuntly.

<Note>
  You need a Nuntly account and access to the DNS settings of the domain you want to use. If you don't own a domain yet, register one through any
  domain registrar.
</Note>

## Create a sending domain

<Steps>
  <Step title="Go to domains">
    In the dashboard, go to **Domains**.

    <img src="https://mintcdn.com/nuntly/-QSvC6ZwmN9m-zHc/images/sending-domains/domain-button.png?fit=max&auto=format&n=-QSvC6ZwmN9m-zHc&q=85&s=497c43a9f1cecce8e5a18cbdeec13dd0" alt="The Domains page showing the Create Sending Domain button in the bottom right corner" className="rounded-lg w-full max-w-xl mx-auto transition-transform duration-200 hover:scale-105" width="2624" height="420" data-path="images/sending-domains/domain-button.png" />
  </Step>

  <Step title="Open the creation form">
    Click **Create Sending Domain**.
  </Step>

  <Step title="Create your domain">
    Enter your domain name (for example, `example.com` or `sending.example.com`) and Click **Create Domain**.

    <img src="https://mintcdn.com/nuntly/06GqUNpQP10WWOGx/images/sending-domains/create-dialog.png?fit=max&auto=format&n=06GqUNpQP10WWOGx&q=85&s=03bac9a4eed76fe5bebedd2f8160e537" alt="The Create Sending Domain dialog with the domain name input field" className="rounded-lg w-full max-w-lg mx-auto transition-transform duration-200 hover:scale-105" width="938" height="668" data-path="images/sending-domains/create-dialog.png" />
  </Step>
</Steps>

You are redirected to the domain detail page, where the DNS records are displayed. DKIM, SPF, and MX are required to verify the domain. DMARC is recommended but optional.

## Configure DNS records

Nuntly generates four types of DNS records that you need to add to your DNS provider:

| Record type | Requirement | Purpose                                                                   |
| ----------- | ----------- | ------------------------------------------------------------------------- |
| **DKIM**    | Required    | Authenticates your email and proves it was sent by you                    |
| **SPF**     | Required    | Specifies which mail servers are allowed to send on behalf of your domain |
| **MX**      | Required    | Routes bounce and complaint notifications back to Nuntly                  |
| **DMARC**   | Recommended | Defines how your domain handles emails that fail DKIM or SPF checks       |

<Note>
  DMARC is recommended but never required to verify your domain. Nuntly suggests a `p=none` starting policy, and you are free to publish a stricter policy (`p=quarantine` or `p=reject`) with a reporting address. A stricter DMARC policy never blocks domain verification.
</Note>

<img src="https://mintcdn.com/nuntly/06GqUNpQP10WWOGx/images/sending-domains/dns-records.png?fit=max&auto=format&n=06GqUNpQP10WWOGx&q=85&s=510743f2ae38a302ba3e5a2550684081" alt="The domain detail page showing the DNS records table with DKIM, SPF, DMARC, and MX entries" className="rounded-lg w-full max-w-2xl mx-auto transition-transform duration-200 hover:scale-105" width="2546" height="1288" data-path="images/sending-domains/dns-records.png" />

### Add records manually

For each record in the table, copy the **Name** and **Value** fields and add them as new DNS records in your provider's control panel. The exact steps depend on your provider. Refer to their documentation for instructions.

### Import via zone file

If your DNS provider supports zone file imports, you can add all records at once:

<Steps>
  <Step title="Open the DNS zone">
    On your domain detail page, click the **DNS zone** button.

    <img src="https://mintcdn.com/nuntly/-QSvC6ZwmN9m-zHc/images/sending-domains/dns-zone-button.png?fit=max&auto=format&n=-QSvC6ZwmN9m-zHc&q=85&s=5bc49817627e4681444854943fe8ff60" alt="The domain detail page showing the DNS zone button" className="rounded-lg w-full max-w-xl mx-auto transition-transform duration-200 hover:scale-105" width="2638" height="548" data-path="images/sending-domains/dns-zone-button.png" />
  </Step>

  <Step title="Copy or download the zone file">
    Copy the zone file content or click **Download Zone File** to save it as a `.zone` file.

    <img src="https://mintcdn.com/nuntly/06GqUNpQP10WWOGx/images/sending-domains/zone-file-dialog.png?fit=max&auto=format&n=06GqUNpQP10WWOGx&q=85&s=4b36584b95e7a67397ff820f0af73a46" alt="The DNS zone dialog showing the generated zone file content with copy and download buttons" className="rounded-lg w-full max-w-lg mx-auto transition-transform duration-200 hover:scale-105" width="1260" height="984" data-path="images/sending-domains/zone-file-dialog.png" />
  </Step>

  <Step title="Import into your DNS provider">
    Import the file into your DNS provider.
  </Step>
</Steps>

### Configure via MCP

You can also set up your sending domain using the Nuntly MCP server, which allows you to manage domains through natural language commands. See the guide: [Supercharge your email stack — natural language automation with Nuntly MCP server](https://nuntly.com/blog/supercharge-your-email-stack-natural-language-automation-with-nuntly-mcp-server).

## Domain verification

After you add the DNS records, Nuntly automatically checks for propagation. The status badge on your domain page updates as verification progresses. DNS propagation can take anywhere from a few minutes to 48 hours depending on your provider.

## Enable open and click tracking

Once your domain is verified, you can track recipient engagement. Go to your domain detail page and toggle the switches under **Measure engagement**:

* **Open tracking.** An event is emitted when the recipient opens your email.
* **Click tracking.** An event is emitted when the recipient clicks a link in your email.

<img src="https://mintcdn.com/nuntly/06GqUNpQP10WWOGx/images/sending-domains/tracking-settings.png?fit=max&auto=format&n=06GqUNpQP10WWOGx&q=85&s=0b5a43604d3f12e31f0df1347e92d45d" alt="The Measure engagement section showing the open tracking and click tracking toggle switches" className="rounded-lg w-full max-w-2xl mx-auto transition-transform duration-200 hover:scale-105" width="2518" height="558" data-path="images/sending-domains/tracking-settings.png" />

<Note>Tracking toggles are only available after your domain is verified.</Note>

Events generated by open and click tracking are visible in the [Observability](/docs/guides/observability) page and can be received via [webhooks](/docs/guides/webhooks).

## Troubleshooting

**Domain is stuck in pending verification**

Check that the three required DNS records (DKIM, SPF, MX) have been added correctly. Compare the Name and Value fields from the dashboard against what is configured in your DNS provider. Some providers require you to remove trailing dots from record names or values. DMARC is optional and never blocks verification, so a missing or stricter DMARC record is not a cause of stuck verification.

**DNS records are correct but verification hasn't completed**

DNS changes can take up to 48 hours to propagate globally. If verification hasn't completed after 48 hours and your records are correct, contact [support](mailto:support@nuntly.com).
