DNS connection

DNS connection

Let Mailset write the records in your own DNS account.

On this page
  1. dns status
  2. dns connect
  3. dns disconnect

mailset dns status

Whether the org’s own Cloudflare is connected, the accounts and zones it sees, and whose token writes each domain.

Admin or owner

Returns

With --json it prints what the API returns.

In the API: POST /v1/dns.status

Usage
mailset dns status [--org <id>]
Example
mailset dns status

mailset dns connect

Let Mailset write your domains’ DNS records in your own Cloudflare: cloudflare (gives a Mailset page to open, signed in).

Admin or owner

Flags

  • <provider>argumentrequired

    The DNS provider to connect: cloudflare.

Returns

With --json it prints what the API returns.

In the API: POST /v1/dns.connect

Usage
mailset dns connect <provider> [--org <id>]
Example
mailset dns connect cloudflare

mailset dns disconnect

End Mailset’s access to your Cloudflare at Cloudflare, and go back to adding records by hand.

Admin or ownerPasskey

It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.

Returns

With --json it prints what the API returns.

In the API: POST /v1/dns.disconnect

Usage
mailset dns disconnect [--org <id>]
Example
mailset dns disconnect