Email

Set up DNS automatically

Connect Cloudflare or Vercel when they own DNS, review the exact records, and add them for sending, receiving, and tracking.

When a domain's nameservers point at Cloudflare or Vercel, Samva can add the DNS records required for email. Manual records remain available for every domain. If your registrar supports one-click setup, that path appears instead.

Connect

  1. Open Email → Domains and select the domain.
  2. When the records card names Cloudflare or Vercel as the DNS host, select Connect.

The page offers a connection only when nameservers already point at that provider. Cloudflare uses its consent screen. Vercel sends you to its integration screen. Choose the personal account or team there. Both return you to the same domain page. Copy the records on the domain page if you want to add them yourself.

If authorization is not available, choose Use an API token instead. Create a token with DNS read and write access and limit it to this zone when the provider allows that. Vercel token connections still need a personal account or team selected in Samva.

Review and add records

Samva sets up customer domains with DomainKit. Once the provider is connected, Samva reads the zone's current DNS and plans the changes. The records table gains a Plan column that says what will happen to each record:

  • Will add means the record is missing and will be created.
  • Already there means the exact record exists and will not change.
  • In the way means a different record already holds that name. Samva never replaces it, and the plan leaves that record out.

Select Add N records (the button counts the records it will create) to approve and apply the plan. Records that are in the way are skipped; fix them at the provider and check again. If DNS changed after the plan was built, the apply stops; check again to build a fresh plan.

If only some records are added, retry. Records already added show as Already there.

Records included

The plan comes from the current domain configuration. It can include:

  • DKIM, custom MAIL FROM MX, and SPF records for sending;
  • the inbound MX record when receiving is enabled; and
  • customer-side CNAME and domain-control validation records when custom tracking is configured.

Samva keeps checking public DNS after the records are added. Provider acceptance does not mean every resolver can see them immediately.

Disconnect

Open the records card's More actions menu and select Disconnect. Disconnecting stops Samva from updating DNS, and existing records stay.

To also remove the records the connection added, turn on the removal option in the disconnect dialog when it is offered. It lists each record it will remove. Only records Samva created through this connection, and that are unchanged, can be removed. Records you added yourself stay.

Troubleshooting

Connect is missing

The domain's nameservers are not at Cloudflare or Vercel. Add the records shown on the domain page, or use registrar one-click setup when it appears.

Cloudflare cannot find the zone

Confirm you connected the Cloudflare account that contains the zone, with permission to read the zone and manage DNS.

Vercel cannot find the domain

Confirm the selected personal account or team on Vercel owns the domain and manages its DNS. A domain using other nameservers must be updated at that DNS host instead.

A record is in the way

Compare the existing record with the required record. Fix it at the DNS provider, then check again. Automatic setup does not overwrite an existing record.

Verification is still pending

DNS can take several minutes or longer. Keep the exact records in place and check DNS from the domain page.

Automatic setup still cannot continue

Use the records on the domain page and follow your DNS provider guide.

Related resources

Related documentation

On this page