Skip to content

Domains and DNS

On a paid plan you send from your own domain. Duta needs to know you control it, and mailbox providers need to know Duta may send for it. Two DNS records do both.

  1. Add the domain in the dashboard under Domains, or with the API:

    POST /domains
    { "name": "kedai.my" }
  2. Publish the records the response lists at your DNS provider:

    Type Name Value Why
    TXT duta._domainkey.kedai.my p=MIIBIjANBg... DKIM. Your mail is signed with a key only Duta holds, and this public half lets receivers check the signature.
    CNAME duta.kedai.my feedback.duta.indra.sh The bounce domain. It carries the SPF record and receives bounce reports.
    TXT _dmarc.kedai.my v=DMARC1; p=none; Optional. Tells receivers what to do with mail that fails the checks.

    Many DNS providers want only the host part of the name: duta._domainkey and duta, not the full name.

  3. Wait for verification. Duta checks the records on its own, often within minutes and sometimes after a few hours while DNS spreads. To check now, press Verify in the dashboard or call POST /v1/domains/{id}/verify, which reports each record as found or not.

  • List domains: GET /v1/domains returns all domains configured on your account with their verification status.
  • Get a domain: GET /v1/domains/{id} returns the domain details and required DNS records.
  • Delete a domain: DELETE /v1/domains/{id} removes the domain from your account and stops sending from it.

Resend’s records use the send. label and its own DKIM selector. Duta’s use duta., so both sets live side by side. Add Duta’s records, verify, switch your application over, then remove Resend’s when you no longer need them.

Duta re-checks every verified domain once a week. If two checks in a row cannot find the records, the domain goes back to pending and sending from it stops until the records are back. Duta emails you when that happens.

  • The number of domains depends on your plan.
  • Up to 20 domains can be added a day.
  • A consumer mailbox domain such as gmail.com cannot be added.
  • A domain that has not verified two days after it was added is removed, and Duta emails you. Add it again once the records are ready. This also means nobody can hold a domain they do not control.