Already added your domain in Ark? Skip to Step 2 to configure your DNS records.
Step 1: Add Your Domain in Ark
First, add your domain in the Ark dashboard or via the API. This generates the DNS records you’ll need to add.- Dashboard
- API
- Go to Domains in your Ark dashboard
- Click Add Domain
- Enter your domain name (e.g.,
mail.yourdomain.com) - Copy the DNS records shown
Step 2: Add DNS Records
Open Cloudflare DNS settings
- Go to dash.cloudflare.com
- Select your domain
- Click DNS in the sidebar
- Click Records
Add the SPF record
Click Add record and enter:
| Field | Value |
|---|---|
| Type | TXT |
| Name | Use the name from the Ark dashboard (e.g., @ for root domain, mail for subdomain) |
| Content | v=spf1 a mx include:spf.arkhq.io ~all |
| TTL | Auto |
Cloudflare auto-appends your domain. For
mail.yourdomain.com, enter mail not the full hostname.Add the DKIM record
Click Add record and enter:
| Field | Value |
|---|---|
| Type | TXT |
| Name | Use the name from Ark (e.g., ark-xyz._domainkey or ark-xyz._domainkey.mail for subdomains) |
| Content | The DKIM value from Ark (starts with k=rsa;t=s;p=...) |
| TTL | Auto |
Cloudflare auto-appends your domain. Copy the
name field exactly as shown in the Ark dashboard.Step 3: Verify Your Domain
Return to the Ark dashboard and click Verify DNS records on your domain. Verification typically completes within a few minutes.Success! Once verified, you can send emails from any address at your domain.
Troubleshooting
Verification failing
Verification failing
- Check proxy status: The CNAME record must be set to “DNS only” (gray cloud), not “Proxied” (orange cloud)
- Check record names: Cloudflare auto-appends your domain. Use
ark1._domainkey, notark1._domainkey.yourdomain.com - Wait for propagation: DNS changes can take a few minutes. Try again shortly.
SPF record issues
SPF record issues
- You can only have one SPF record per domain
- If you have multiple email services, combine them:
v=spf1 include:spf.arkhq.io include:_spf.google.com ~all - SPF has a 10 DNS lookup limit. Use SPF checker tools to verify
Records not appearing
Records not appearing
- Ensure you clicked Save after adding each record
- Use dnschecker.org to verify records are propagating globally
- Cloudflare DNS changes are usually instant, but can take up to 5 minutes
