Wildcard Domains & DNS Setup
EmBoux supports wildcard domains — configure DNS once for your parent domain, and every subdomain you create will work automatically without additional DNS changes.
When to Use Wildcard
Section titled “When to Use Wildcard”Use wildcard if you plan to create subdomains under a single parent domain. For example:
ganemo.com(parent, wildcard)client1.ganemo.com(subdomain — inherits DNS & SES)client2.ganemo.com(subdomain — inherits DNS & SES)
Step 1: Create a Wildcard Domain
Section titled “Step 1: Create a Wildcard Domain”When creating a domain via the API or portal, mark it as wildcard:
curl -X POST https://api.emboux.com/domains/ \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"name": "ganemo.com"}'Then set it as wildcard (master token only):
curl -X PUT https://api.emboux.com/domains/ganemo.com/parent \ -H "Authorization: Bearer YOUR_MASTER_KEY" \ -H "Content-Type: application/json" \ -d '{"is_wildcard": true}'In the Odoo portal, simply check “I will create subdomains (wildcard)” when adding the domain.
Step 2: Configure DNS Records
Section titled “Step 2: Configure DNS Records”For wildcard domains, use * entries so all subdomains are covered:
Inbound (MX + SPF + DMARC)
Section titled “Inbound (MX + SPF + DMARC)”| Type | Name | Value |
|---|---|---|
| MX | *.ganemo.com | mail.emboux.com (Priority: 10) |
| TXT | *.ganemo.com | v=spf1 include:amazonses.com include:emboux.com ~all |
| TXT | *._dmarc.ganemo.com | v=DMARC1; p=quarantine; rua=mailto:[email protected] |
Outbound (SES Verification + DKIM)
Section titled “Outbound (SES Verification + DKIM)”After domain creation, SES verification is initiated automatically. You’ll receive tokens to configure:
| Type | Name | Value |
|---|---|---|
| TXT | _amazonses.ganemo.com | (your verification token) |
| CNAME | {tok1}._domainkey.ganemo.com | {tok1}.dkim.amazonses.com |
| CNAME | {tok2}._domainkey.ganemo.com | {tok2}.dkim.amazonses.com |
| CNAME | {tok3}._domainkey.ganemo.com | {tok3}.dkim.amazonses.com |
The exact values are shown in your portal dashboard after domain creation.
Step 3: Verify DNS Configuration
Section titled “Step 3: Verify DNS Configuration”Use the DNS check endpoint to verify your records are configured correctly:
curl https://api.emboux.com/domains/ganemo.com/dns-check \ -H "Authorization: Bearer YOUR_API_KEY"Response:
{ "name": "ganemo.com", "all_ok": true, "records": [ {"record_type": "MX", "name": "ganemo.com", "expected": "mail.emboux.com", "status": "ok"}, {"record_type": "TXT", "name": "ganemo.com", "expected": "include:emboux.com", "status": "ok"}, {"record_type": "TXT", "name": "_amazonses.ganemo.com", "expected": "abc123", "status": "ok"}, {"record_type": "CNAME", "name": "tok1._domainkey.ganemo.com", "expected": "tok1.dkim.amazonses.com", "status": "ok"} ]}Each record shows ok, missing, or incorrect.
In the portal, use the “Verify my DNS” button for a visual checklist.
Step 4: Create Subdomains
Section titled “Step 4: Create Subdomains”Once the parent is verified, create subdomains — they inherit DNS and SES automatically:
curl -X POST https://api.emboux.com/domains/ \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"name": "client1.ganemo.com"}'The API auto-detects that client1.ganemo.com is a subdomain of ganemo.com and:
- Links it to the parent domain
- Inherits
outbound_tierandoutbound_enforcement - Skips SES verification (inherits from parent)
- No additional DNS configuration needed
SES Verification Status
Section titled “SES Verification Status”SES verification is polled automatically every 2 hours. Once verified, outbound email is enabled. You can also check manually:
curl https://api.emboux.com/domains/ganemo.com/ses-status \ -H "Authorization: Bearer YOUR_API_KEY"API Reference
Section titled “API Reference”| Endpoint | Method | Description | Auth |
|---|---|---|---|
/domains/{name}/parent | PUT | Set parent_domain / is_wildcard | Master |
/domains/{name}/dns-check | GET | Verify DNS records | Any |
/domains/{name}/ses-verify | POST | Initiate SES verification | Master |
/domains/{name}/ses-status | GET | Check SES verification status | Any |