DNS records by hand

Copy each record into a DNS host Mailset can’t write to, then check it.

mailset guide dns-by-hand
7 stepsOn this page
  1. Steps
  2. Setup
  3. 1Try the one-click link first
  4. 2Check each record’s state
  5. 3Open your host’s records page
  6. 4Add each record that isn’t ok
  7. 5Paste TXT values whole
  8. 6Replace the old SPF and DMARC
  9. 7Check until every row says ok
  10. Check
  11. Watch out

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. Install the CLI and sign in

    Sign inSign in with a passkey

    Press Sign in with a passkey and approve it on this device, your phone or a password manager. Mailset has no passwords.

    Open in Mailset

    The command

    Install the CLI on macOS or Linux with brew install intenseloop/tap/mailset or npm install -g @mailset/cli.

    Run mailset login, open the link it prints and approve with your passkey.

    In a terminal, login also offers your agents the Mailset skill; mailset agents add does it later.

    Install the CLI on macOS or Linux with brew install intenseloop/tap/mailset or npm install -g @mailset/cli.

    Run mailset login, open the link it prints and approve with your passkey.

    In a terminal, login also offers your agents the Mailset skill; mailset agents add does it later.

  2. Try the one-click link first

    Set upPut the records inSet it up

    Where your host offers one click, press Set it up, sign in there and approve the records. This page checks again every 15 seconds.

    Open in Mailset

    The command

    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.

    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.

  3. Check each record’s state

    Set upPut the records inRecords

    Each record shows its state, type, name and value, with a copy button. A wrong one also shows what DNS answers there now.

    Open in Mailset

    The command

    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.

    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.

  4. Open your host’s records page

    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.

    Your DNS host
  5. Add each record that isn’t ok

    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).

    Your DNS host
  6. Paste TXT values whole

    TXT values go in whole, even when they're long. Paste them without adding quotes or line breaks.

    Your DNS host
  7. Replace the old SPF and DMARC

    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.

    One record per name
  8. Check until every row says ok

    Set upPut the records inCheck again

    Press Check again, or leave the page open and it checks every 15 seconds. A record gets its check once your DNS host publishes it.

    Open in Mailset

    The command

    Run mailset domains check example.com again until every row says ok.

    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.