Command
nylas dashboard domains dns
Show DNS records required for domain verification.
Written by Qasim Muhammad Staff SRE
What does nylas dashboard domains dns do?
The nylas dashboard domains dns command prints the ownership, receiving, sending, and authentication DNS records needed to verify a registered domain. Use --type to show one or more record groups such as ownership, mx, spf, dkim, dmarc, arc, or feedback.
Usage
nylas dashboard domains dns [domain-id-or-address] [--region <region>] [--type ownership]Flags
| Flag | Description |
|---|---|
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
| --region(-r) | Region to query (us or eu; inferred for existing domains when omitted) |
| --type | Verification type to show (repeatable: ownership, mx, spf, feedback, dkim, dmarc, arc) |
Examples
The nylas dashboard domains dns command prints the ownership, receiving, sending, and authentication DNS records needed to verify a registered domain.
Show all DNS records
nylas dashboard domains dns myagent.nylas.emailShow ownership records only
nylas dashboard domains dns d4056599-6d36-4a18-847c-7d033b7a939e --type ownershipExample output
DNS records for example.com (dom_abc123)
TYPE HOST VALUE
TXT _nylas.example.com nylas-verify=abc123def456
MX example.com 10 mx.nylas.com
TXT example.com v=spf1 include:nylas.com ~allTroubleshooting
DNS records are empty
Confirm the domain ID and region with `nylas dashboard domains list`, then retry after the domain registration has finished.
Recommended guides
Build a Mastra Email Agent
Give a Mastra TypeScript agent email by wrapping the Nylas CLI as a createTool — one subprocess call, JSON in and out, across Gmail, Outlook, and more.
Add Email Sync to Your App Without IMAP
Skip per-mailbox IMAP IDLE connections. Use webhooks for push and on-demand reads for backfill, prototyped from the terminal — and know when IMAP still wins.
Automate Customer Onboarding Emails
Run a multi-day onboarding sequence from a signup hook with nylas email send --schedule and hosted templates — no marketing platform, no SMTP.
Build a Transactional Email Agent
Send receipts, confirmations, and alerts from a dedicated agent account — DKIM-signed, idempotent, and rate-capped by a workspace policy, no SMTP relay.
Trigger Agents on Inbound Email with Webhooks
Replace cron polling with webhooks: register a message.created hook so your agent account wakes the agent the instant mail arrives, signature-verified.
Build an Email Digest Agent
Send an opt-in digest to a subscriber group from an agent account — resolve the recipient list from contacts, honor unsubscribes, and send on a schedule.
Run nylas dashboard domains dns --help for full help output.