Hey lemlister!
If your emails are landing in spam or not arriving at all, your DNS records are probably not set up correctly. In this guide, weβll explain exactly how to configure the DNS records that matter for email deliverability: SPF, DKIM, and DMARC. βοΈβ
What Are DNS Records?
DNS (Domain Name System) records are settings that tell the internet how your domain works. For email, they tell providers like Gmail and Outlook whether to trust the emails you send.π
The 3 Records You Must Set Up
1. SPF (Sender Policy Framework)
SPF tells email servers which services are allowed to send emails from your domain.
Example SPF Record:
v=spf1 a mx include:_spf.yourprovider.com ~all
Replace _spf.yourprovider.com
with your actual provider. Common examples:
Google Workspace:
_spf.google.com
Outlook:
spf.protection.outlook.com
Zoho:
zoho.com
How to add SPF:
Log in to your domain provider (e.g. GoDaddy, Namecheap)
Go to DNS settings
Add a new TXT record:
Name/Host: @
Value: Your full SPF string
TTL: 3600 or default
Save changes
Use SPF Checker to verify π
2. DKIM (DomainKeys Identified Mail)
DKIM adds a digital signature to your emails to confirm they were really sent by you.βοΈ
How to add DKIM:
Get your DKIM key from your email provider (Google, Microsoft, etc.)
Log in to your domain provider
Go to DNS settings
Add a new TXT record:
Name/Host: Usually something like
default._domainkey
Value: The DKIM key provided
TTL: 3600 or default
Save changes
Use DKIM Core Checker to verify
3. DMARC (Domain-based Message Authentication, Reporting & Conformance)
DMARC tells email providers what to do if SPF and DKIM fail. π«π¬
Example DMARC Record:
v=DMARC1; p=quarantine; rua=mailto:[email protected]
p=none
: just monitorp=quarantine
: send suspicious emails to spamp=reject
: block them completely
How to add DMARC:
Log in to your domain provider
Go to DNS settings
Add a new TXT record:
Name/Host:
_dmarc
Value: your DMARC rule
TTL: 3600 or default
Save changes
Use DMARC Inspector to verify
Bonus: Other DNS Records You Might See (Not Required for Email)
While not needed for deliverability, hereβs a quick breakdown of other common DNS records:
A Record β Points your domain to a website IP address
AAAA Record β Same as A, but for IPv6
CNAME Record β Redirects one domain or subdomain to another (used for custom tracking domains in lemlist)
NS Record β Shows who manages your DNS settings (usually auto-set)
TXT Record β Stores text data like SPF, DKIM, DMARC
MX Record β Defines where incoming mail should be delivered (needed to receive replies)
For lemlist, you must set up:
TXT records (for SPF, DKIM, DMARC)
MX record (to receive replies)
CNAME record (to track opens and clicks) π
Common Question
Do I need to include lemlist in my SPF record?
No. lemlist doesnβt send emails directly. Only include your actual provider (like Google or Outlook) in your SPF record.
Why This Setup Matters
Prevents your emails from going to spam π«π₯
Protects your domain from spoofing/phishing
Builds trust with email services like Gmail and Outlook π€
Need Help?
Check out our other articles or reach out to lemlist support, weβll walk you through it.π¬