1. Set Up SPF (Sender Policy Framework)
SPF helps prevent spammers from sending emails on behalf of your domain. It specifies which mail servers are authorized to send emails for your domain.
Steps to Add an SPF Record:
- Log into your domain registrar’s DNS management console.
- Access Popular DNS consoles
- Add a new TXT record with the following details:
- Host:
@ (or leave blank, depending on provider)
- Type: TXT
- Value:
- **Google:**
v=spf1 include:_spf.google.com ~all
- **Microsoft:**
v=spf1 include:spf.protection.outlook.com ~all
- Sendgrid:
v=spf1 include:sendgrid.net ~all
- TTL: 3600 (1 hour) or default
- Save changes and wait for propagation (can take up to 48 hours).
2. Set Up DKIM (DomainKeys Identified Mail)
DKIM adds a digital signature to your emails, verifying their authenticity and preventing spoofing.
Steps to Add a DKIM Record:
- In your email provider’s admin panel, generate a DKIM key.
- Google Instructions
- Microsoft Instructions
- Copy the TXT record provided by your email provider.
- Go to your domain registrar’s DNS settings.
- Add a new TXT record:
- Host:
default._domainkey.yourdomain.com (Replace yourdomain.com with your actual domain)
- Type: TXT
- Value: Paste the DKIM key generated by your provider.
- TTL: 3600 (1 hour)
- Save changes and wait for DNS propagation.
- Verify DKIM setup using your email provider’s tools.