Skip to content

Custom domains

Setup your custom domain in the Draxon dashboard with TXT and MX DNS verification.

Bring your own custom domain to Draxon Mail. When active, your domain acts as a catch-all destination: emails sent to any address on your domain are delivered directly into your account and can be accessed via API or the universal webmail interface.

Developer accounts support up to 20 custom domains.

Dashboard Setup & DNS Guide

To keep your domains secure and prevent accidental domain flooding, custom domains are registered and managed directly through your authenticated developer dashboard.

Step 1: Add your domain in Dashboard

  1. Navigate to your dashboard under Mail > Domains.
  2. Click Add custom domain.
  3. Enter your apex domain or subdomain (e.g. yourdomain.com or inbox.yourdomain.com).
  4. Click Create. The dashboard will display your unique DNS verification tokens.

Step 2: Configure DNS Records

Log in to your DNS provider (e.g. Cloudflare, Namecheap, Route 53, GoDaddy) and add the two records shown in your dashboard:

  1. TXT Verification Record (proves domain ownership):

    • Type: TXT
    • Name / Host: _draxon-verify.yourdomain.com
    • Value: The unique draxon-verify=... string shown in your dashboard
    • TTL: Auto or 300 seconds
  2. MX Routing Record (routes incoming mail to Draxon Mail servers):

    • Type: MX
    • Name / Host: @ (or yourdomain.com)
    • Server / Value: mx.draxon.one
    • Priority: 10
    • TTL: Auto or 300 seconds

Step 3: Verify and Activate

  1. In Mail > Domains, click Verify DNS.
  2. Once the records propagate and match, the status updates to Active.
  3. Your domain is now ready to receive mail.

How to Generate & Use Mailboxes from Code

Once your custom domain is active, do not use domain registration APIs. Simply use the standard Mail API to create addresses, read messages, and long-poll for verification codes:

👉 See the complete guide and code samples in Mail Documentation.

Summary:

  • Call POST /api/mail/v1/mailboxes with "domain": "yourdomain.com".
  • Poll or wait for messages using GET /api/mail/v1/mailboxes/{address}/messages/wait.
  • Give the recipient the generated password so they can log in at /mail/login.

Monthly Billing & Renewals

  • Custom domains renew every 30 days directly from your unified account balance.
  • Check live monthly pricing on the Pricing Page.
  • If your balance runs low, the domain enters a 3-day grace period before being paused. Adding funds in your dashboard reactivates the domain immediately.

Remove a Domain

To disconnect a domain, delete it directly from Mail > Domains.

Warning: Removing a custom domain cancels the monthly renewal and removes all associated mailboxes and saved emails.