export const dnsSection = '/docs/images/dns/namecheap/nc-dns-section.webp'
export const cnameSection = '/docs/images/dns/namecheap/nc-add-cname.webp'
export const textSection = '/docs/images/dns/namecheap/nc-add-text.webp'
export const recordList = '/docs/images/dns/cloudflare/cf-record-list.webp'


# Setup Namecheap DNS for Bento

This guide will walk you through configuring the required DNS records in Namecheap to authenticate your domain for Bento email sending. By adding these records, you'll ensure optimal email deliverability and prevent your emails from being marked as spam. 


> ⚠️ **Warning**
> Adding DNS records is required for any customer sending over 5,000 emails on any given day. This is a new requirement from Gmail and Yahoo introduced in February 2024.


## Prerequisites

Before starting, ensure you have:
- Access to your Namecheap account
- Your domain registered with Namecheap or using Namecheap DNS
- Required permissions to modify DNS records

## Required DNS Records

You'll need to add these 6 DNS records to your domain:


```
  example              CNAME  example.test.sendgrid.net
  bbb._domainkey       CNAME  bbb.domainkey.example.test.sendgrid.net
  bbb2._domainkey      CNAME  bbb2.domainkey.example.test.sendgrid.net
  bento                CNAME  ga.bentoemail.com
  bento3180._domainkey TXT    k=rsa; p=example...
  _dmarc               TXT    v=DMARC1; p=quarantine; adkim=s
```


You can find your specific DNS records in Bento under `System > DNS`. The values above are examples - use the actual values provided in your Bento account.


  
**1. Access Namecheap Advanced DNS**

  
    
      
        <ol className="space-y-2">
          <li>Log into your Namecheap account at namecheap.com</li>
          <li>Navigate to <strong>Domain List</strong> from the left sidebar</li>
          <li>Find your domain and click <strong>Manage</strong></li>
          <li>Click on the <strong>Advanced DNS</strong> tab</li>
          <li>You'll see the DNS records management interface</li>
        </ol>
        
        
> If you're using external nameservers, you'll need to manage DNS records where your nameservers are pointed, not in Namecheap.

      
      
        <div className="bg-zinc-800 border border-zinc-700 rounded-lg px-2 pb-1 text-center">
          
        </div>
      
    
  

  
**2. Add CNAME Records**

  
    
      
        You'll need to add 4 CNAME records. Let's start with the first one:
        
        <ol className="space-y-2">
          <li>Click the <strong>Add New Record</strong> button</li>
          <li>Select <strong>CNAME Record</strong> from the Type dropdown</li>
          <li>In the <strong>Name</strong> field, enter: <code>example</code></li>
          <li>In the <strong>Target</strong> field, enter: <code>example.test.sendgrid.net</code></li>
          <li>Set <strong>TTL</strong> to <strong>Automatic</strong> (recommended)</li>
          <li>Click the <strong>Save Changes</strong> button (green checkmark)</li>
        </ol>

        
> ⚠️ **Warning**
> Namecheap automatically removes your domain from the Host field. So instead of entering `example.yourdomain.com`, you only need to enter `example`. The system will automatically append your domain.


        Repeat this process for the remaining CNAME records for example:
        - `bbb._domainkey` → `bbb.domainkey.example.test.sendgrid.net`
        - `bbb2._domainkey` → `bbb2.domainkey.example.test.sendgrid.net`
        - `bento` → `ga.bentoemail.com`

        
> 🚨 **Important**
> The example domain is for demonstration purposes only. Please use your own domain records from Bento <code>SYSTEM -> DNS</code> in the menu.

      
      
        <div className="bg-zinc-800 border border-zinc-700 rounded-lg px-2 pb-1 text-center">
          
        </div>
      
    
  

  
**3. Add TXT Records**

  
    
      
        Now you'll add 2 TXT records. Let's start with the DKIM record:
        
        <ol className="space-y-2">
          <li>Click the <strong>Add New Record</strong> button</li>
          <li>Select <strong>TXT Record</strong> from the Type dropdown</li>
          <li>In the <strong>Name</strong> field, enter: <code>bentoEXAMPLE._domainkey</code></li>
          <li>In the <strong>Content</strong> field, enter the full DKIM key (starts with k=rsa; p=...)</li>
          <li>Set <strong>TTL</strong> to <strong>Automatic</strong></li>
          <li>Click the <strong>Save Changes</strong> button (green checkmark)</li>
        </ol>

        Then add the DMARC record:
        <ol className="space-y-2">
          <li>Click <strong>Add New Record</strong> again</li>
          <li>Select <strong>TXT Record</strong> from the Type dropdown</li>
          <li>In the <strong>Name</strong> field, enter: <code>_dmarc</code></li>
          <li>In the <strong>Content</strong> field, enter: <code>v=DMARC1; p=quarantine; adkim=s</code></li>
          <li>Set <strong>TTL</strong> to <strong>Automatic</strong></li>
          <li>Click the <strong>Save Changes</strong> button (green checkmark)</li>
        </ol>

        
> ⚠️ **Warning**
> Remember to click the green checkmark (Save Changes) after adding each record. Namecheap requires this step to save your changes.

        
> Pro-tip: You can copy the exact DNS record values from your Bento account by clicking on each record. This helps avoid typos that could prevent verification.

      
      
        <div className="bg-zinc-800 border border-zinc-700 rounded-lg px-2 pb-1 text-center">
          
        </div>
      
    
  

  
**4. Verify Your DNS Records**

  
    
      
        After adding all 6 DNS records, you need to verify them in Bento:
        
        <ol className="space-y-2">
          <li>Return to Bento and navigate to <strong>`SYSTEM -> DNS`</strong></li>
          <li>Wait 5-10 minutes for DNS propagation (can take up to 48 hours in some cases)</li>
          <li>Click the <strong>Check</strong> button next to each DNS record</li>
          <li>Properly configured records will show a green checkmark and blue text</li>
          <li>If any records fail verification, double-check the values and TTL settings</li>
        </ol>

        
> DNS propagation can take anywhere from 5 minutes to 48 hours. If records don't verify immediately, wait a bit longer and try again.


        
> 🚨 **Important**
> DO NOT EDIT EXISTING RECORDS FOR YOUR DOMAIN. You should only be ADDING new records, never editing existing ones.

      
      
        <div className="bg-zinc-800 border border-zinc-700 rounded-lg px-2 pb-1 text-center">
           DNS'} imgWidth={'1200'} />
        </div>
      
    
  

  
**5. Final Record Overview**

  
    Once complete, your Namecheap DNS records should be as follows:

    All 6 records should be visible in your DNS management interface with:
    - 4 CNAME records with proper Host and Value fields
    - 2 TXT records with proper Host and Value content
    - All records showing TTL as "Automatic"
    - Green checkmarks indicating saved status
  


## Namecheap Notes

- **Domain Auto-Append**: Namecheap automatically appends your domain to Host fields, so only enter the subdomain portion
- **Save Changes**: Always click the green checkmark after adding each record to save changes
- **TTL Options**: Namecheap offers "Automatic" TTL which is recommended for most use cases
- **Propagation**: Namecheap DNS changes typically propagate within 30 minutes to 4 hours

## Troubleshooting

If you encounter issues:

- **Records not verifying**: Double-check that all values match exactly what's shown in your Bento account
- **Host field confusion**: Remember that Namecheap auto-appends your domain - only enter the subdomain part
- **Unsaved changes**: Ensure you clicked the green checkmark to save each record
- **DNS propagation**: Wait up to 48 hours for global DNS propagation
- **TTL settings**: Use "Automatic" TTL for optimal performance

## Next Steps

Once all DNS records are verified in Bento:
1. Your domain is now authenticated for email sending
2. You can start sending emails with improved deliverability
3. Monitor your email performance in the Bento dashboard

If you have any questions, feel free to ask in the Bento [Discord](https://discord.gg/ssXXFRmt5F)!