CLI Domain Commands
Add custom domains, verify DNS records, and manage DKIM keys from the command line.
The anonli domain commands let you add custom domains for your email aliases. Use your own domain (e.g., privacy@yourdomain.com) instead of @anon.li.
List
List your custom domains.
anonli domain list [--json]
Displays a table with each domain's name, status, MX/SPF/DKIM verification status, and creation date.
Add
Add a new custom domain.
anonli domain add <domain>
After adding, the CLI displays the DNS records you need to configure:
- TXT record for domain ownership verification
- MX record to route email through anon.li
- record for email authentication