Domains Command
Manage your sending domains for email authentication.Overview
list
- List all domainscreate
- Add a new domainget
- Get domain detailsverify
- Verify domain DNS configurationdelete
- Remove a domain
List Domains
List all domains in your AhaSend account with their verification status, DNS record status, and other details. The list can be filtered and paginated for large numbers of domains.List Flags
Flag | Description |
---|---|
--cursor | Pagination cursor for next page |
--limit | Maximum number of domains to return |
--status | Filter by DNS status (verified, pending, failed) |
Create Domain
- SPF Record:
v=spf1 include:spf.ahasend.com ~all
- DKIM Record: CNAME
mail._domainkey
→mail._domainkey.ahasend.com
- DMARC Record:
v=DMARC1; p=none;
Verify Domain
After configuring DNS records:DNS propagation can take up to 24 hours, but typically completes within minutes.
Get Domain Details
Delete Domain
Deleting a domain is irreversible. You’ll need to re-add and re-verify the domain if you want to use it again.