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

# Add Molin DNS records for a Shopify domain

> Workarounds for adding NS records when your domain is managed by Shopify.

When you connect a custom sending domain in Molin, the wizard shows you 4 NS records to add at your DNS provider. This guide covers what to do when your domain is registered or managed through Shopify.

<Warning>
  Shopify's built-in DNS editor does **not** support `NS` records — it only allows `A`, `AAAA`, `CNAME`, `MX`, `TXT`, and `SRV`. You cannot add Molin's nameserver records inside Shopify directly. The
  two workarounds below are the only paths that work.
</Warning>

## Prerequisites

* A Shopify store with the domain you want to use
* The exact records Molin shows you in the [email setup wizard](https://molin.ai/app/channels/email)

## Option A — recommended: move DNS to Cloudflare (free)

Cloudflare lets you keep the domain registered at Shopify while taking over DNS hosting, so you can add `NS` records that Shopify's editor wouldn't accept.

<Warning>
  Switching nameservers controls your entire domain, including your storefront and existing email. If a record is missed during the move, your website can go offline. We strongly recommend asking your
  developer or IT team to do this for you.
</Warning>

1. Sign up for a free [Cloudflare account](https://dash.cloudflare.com/sign-up).
2. Add your domain to Cloudflare. Cloudflare will scan your existing Shopify DNS and import the `A`, `CNAME`, and `MX` records that point at Shopify so the storefront keeps working.
3. Cloudflare will show you a pair of nameservers (e.g. `gabe.ns.cloudflare.com`, `nora.ns.cloudflare.com`).
4. In the Shopify admin, open **Settings → Domains**, click the domain, then click **DNS settings**. Find the **Nameservers** section near the top and replace Shopify's nameservers with Cloudflare's. Save.
5. Wait for the change to take effect (usually under an hour). Cloudflare will email you when it's done.
6. Once Cloudflare manages your DNS, follow the [Cloudflare guide](/home/channels/email/dns/cloudflare) to add the Molin records.

## Option B — use a subdomain on a different domain

If you can't move DNS off Shopify, you can use a different domain you already own for sending (one whose DNS is managed by Cloudflare, GoDaddy, or Namecheap).

1. Click **Back** at the bottom of the custom-domain step in the Molin wizard.
2. Enter a sending subdomain on a different domain whose DNS is managed by one of the supported providers (e.g. `molin.yourshop.com` if your storefront is `yourshop.myshopify.com`).
3. Add the records there following that provider's guide.

The sending domain doesn't have to match your storefront domain.

## Verify

1. Return to the Molin email setup wizard
2. Click **Verify now**
3. The wizard polls every 30 seconds, so you can also wait. Verification completes within a few minutes of the records being live.

## Reference

For Shopify's documentation on DNS limitations, see [Edit your domain's DNS settings](https://help.shopify.com/en/manual/online-store/domains/managing-domains/edit-dns-settings).
