How to Set Up SPF, DKIM, and DMARC
Email authentication protocols (SPF, DKIM, DMARC) are essential for deliverability. This guide explains what each protocol does and how to set them up with AISend.
What is SPF?
SPF (Sender Policy Framework) tells receiving mail servers which IP addresses are authorized to send email on behalf of your domain. It's a DNS TXT record that lists approved senders. Without SPF, anyone can send email pretending to be from your domain.
# Example SPF record
v=spf1 include:_spf.aisend.app ~allWhat is DKIM?
DKIM (DomainKeys Identified Mail) adds a digital signature to your emails. The receiving server verifies this signature against a public key published in your DNS. This proves the email wasn't tampered with in transit and truly came from your domain.
# Example DKIM record (added via AISend dashboard)
# Name: aisend._domainkey.yourdomain.com
# Type: CNAME
# Value: dkim.aisend.appWhat is DMARC?
DMARC (Domain-based Message Authentication, Reporting & Conformance) ties SPF and DKIM together. It tells receiving servers what to do when authentication fails (none, quarantine, or reject) and where to send reports.
# Example DMARC record
# Name: _dmarc.yourdomain.com
# Type: TXT
v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.comSetting up with AISend
AISend makes this easy. Add your domain in the dashboard, and we'll show you exactly which DNS records to add. Click 'Verify' to check your configuration. Our AI also monitors your domain reputation and alerts you to deliverability issues.