# DNS records by hand

Needs the Mailset CLI, signed in: step 1 of `mailset guide onboarding`.

For a DNS host Mailset can't write to: copy each record Mailset asks for into your host's records page, and Mailset checks it there. On Cloudflare, skip this: `mailset dns connect cloudflare` lets Mailset write the records in your own account. Replace example.com with your domain.

Some hosts take one click instead. If yours supports Domain Connect and has Mailset's setup, `mailset domains apply example.com` prints a link to the host's own page, and the host adds the records you approve there. Anything the link can't add, such as a DMARC record that keeps your own policy, prints under it to add by hand.

## Steps

1. Run `mailset domains apply example.com` first. If it prints `Open this to let <your host> add Mailset's records`, open the link, sign in, check the records it lists and approve. Then skip to the last step. If it prints the records to add by hand instead, carry on.
2. Run `mailset domains check example.com`. It lists each record with its state (`ok`, `missing` or `wrong`), its type, its name and the value to publish. A `wrong` row also shows what DNS answers there now.
3. Open your DNS host's records page for the domain. `mailset domains status example.com` names the host, and the page itself when Mailset knows it.
4. Add every record that isn't `ok`, with the type, name and value exactly as shown. MX records take the priority in front of the value (`10`).
5. TXT values go in whole, even when they're long. Paste them without adding quotes or line breaks.
6. SPF and DMARC replace what's there: one SPF record and one DMARC record per name. Mailset's SPF value already keeps what your old record allowed, and its DMARC value keeps your policy.
7. Run `mailset domains check example.com` again until every row says ok.

## Check

`mailset domains check example.com` shows `ok` on every row, and `mailset domains status example.com` shows the DNS records row as `ok`.

## Watch out

- Most hosts want only the part of the name before your domain (`ms1._domainkey`, not `ms1._domainkey.example.com`) and add the rest themselves. After you save, a name that ends in `example.com.example.com` is wrong.
- If your host can proxy records (Cloudflare's orange cloud), leave Mailset's CNAMEs as DNS only.
- Two SPF records, or two DMARC records, make receivers ignore both.
- A changed record can take a few minutes to reach your domain's nameservers. Mailset reads them directly, so a record shows as ok as soon as they answer it.
- When Mailset can write to your DNS host, `mailset domains apply example.com` adds all of this for you. `mailset dns status` says which domains it can write.
- A one-click link asks for nothing at Mailset: the host signs you in and shows exactly what it adds. It works until Mailset changes its signing key; `mailset domains connect example.com` prints a fresh one any time. A parked domain's DKIM wildcard, and any record that has to keep what you wrote, stay by hand.
- The link writes Mailset's records and replaces only what they clash with, such as the old MX. A DKIM key or an SPF include from an old provider stays until you delete it: `mailset guide old-provider`.
- To add a TXT record another service asks for to prove the domain (Google, Yahoo, Apple, Microsoft), run `mailset domains verify example.com --txt "<value>"`. It writes the record where Mailset can, and prints it to add by hand where it can't.

---

© 2026 Intenseloop, Inc. Mailset’s site, docs and guides are copyrighted. You may read them and use their code to build with Mailset. Don’t republish them or use them to build a copy of Mailset. Terms: https://mailset.app/terms#content