Overview
Using a custom domain allows your AI agents to send emails from addresses like[email protected] instead of a generic address. This improves deliverability, builds trust with recipients, and maintains your brand identity.
Prerequisites
Before you begin, ensure you have:- Access to your domain’s DNS settings
- A verified Jasni account
- Administrative access to your Jasni workspace
Step 1: Add Your Domain
Navigate to your Jasni Dashboard and add your domain:- Go to Settings > Domains
- Click Add Domain
- Enter your domain name (e.g.,
yourdomain.com) - Click Continue
You can add multiple domains to a single Jasni account.
Step 2: Configure DNS Records
After adding your domain, you’ll need to configure several DNS records for authentication and deliverability.SPF Record
SPF (Sender Policy Framework) authorizes Jasni to send emails on behalf of your domain.| Type | Host | Value |
|---|---|---|
| TXT | @ | v=spf1 include:_spf.jasni.ai ~all |
DKIM Records
DKIM (DomainKeys Identified Mail) adds a digital signature to verify your emails haven’t been tampered with.| Type | Host | Value |
|---|---|---|
| CNAME | jasni1._domainkey | jasni1._domainkey.jasni.ai |
| CNAME | jasni2._domainkey | jasni2._domainkey.jasni.ai |
DMARC Record
DMARC (Domain-based Message Authentication, Reporting & Conformance) tells receiving servers how to handle emails that fail authentication.| Type | Host | Value |
|---|---|---|
| TXT | _dmarc | v=DMARC1; p=quarantine; rua=mailto:[email protected] |
MX Records (for receiving)
If you want to receive emails through Jasni, add these MX records:| Type | Host | Priority | Value |
|---|---|---|---|
| MX | @ | 10 | mx1.jasni.ai |
| MX | @ | 20 | mx2.jasni.ai |
Step 3: Verify Your Domain
Once your DNS records are configured:- Return to Settings > Domains in your dashboard
- Click on your domain
- Click Verify DNS
DNS propagation can take up to 48 hours, though it typically completes within a few hours. You can check propagation status using tools like whatsmydns.net.
Verification Status
| Status | Description |
|---|---|
| Pending | DNS records not yet detected |
| Partial | Some records verified, others pending |
| Verified | All records verified, domain ready to use |
| Failed | Incorrect DNS configuration detected |
Step 4: Create Email Addresses
Once verified, you can create email addresses on your domain:Subdomain Configuration
You can also configure subdomains for different purposes:| Subdomain | Use Case |
|---|---|
notifications.yourdomain.com | Automated notifications |
support.yourdomain.com | Customer support agents |
marketing.yourdomain.com | Marketing communications |
Troubleshooting
DNS records not verifying
DNS records not verifying
- Ensure there are no typos in the DNS records
- Check that you’re adding records to the correct domain/subdomain
- Wait for DNS propagation (can take up to 48 hours)
- Use a DNS checker tool to verify records are visible
Emails going to spam
Emails going to spam
- Verify all DNS records (SPF, DKIM, DMARC) are correctly configured
- Start with a warm-up period for new domains
- Ensure email content follows best practices
- Check your domain isn’t on any blocklists
DMARC failures
DMARC failures
- Ensure SPF and DKIM are properly configured
- Check DMARC reports for alignment issues
- Verify you’re sending from an authorized address