DEV Community

tundek
tundek

Posted on

Resolving SPF and MX records for rodamour.com

To resolve the SPF and MX record issues for your domain, follow these steps:

  1. Add an SPF Record The Sender Policy Framework (SPF) is used to specify which mail servers are authorized to send emails on behalf of your domain.

SPF Record Value Example:

v=spf1 include:spf.protection.outlook.com -all

Adjust the include: part depending on your email provider. For example:

Google Workspace: v=spf1 include:_spf.google.com -all
Microsoft 365: v=spf1 include:spf.protection.outlook.com -all
Custom Mail Server: Use your mail server's IP or domain.
Steps to Add SPF Record:

Log in to your DNS hosting provider.
Add a new DNS record:
Type: TXT
Host/Name: @ (or your domain name, e.g., rodarmour.com)
Value: The SPF record value provided above.
Save the record and wait for DNS propagation (can take a few hours).

  1. Add an MX Record MX (Mail Exchange) records specify the mail servers responsible for receiving emails for your domain.

MX Record Value Example: If you're using Google Workspace:

Priority: 1
Value: aspmx.l.google.com
Additional Google Workspace records:

Priority: 5 Value: alt1.aspmx.l.google.com
Priority: 5 Value: alt2.aspmx.l.google.com
Priority: 10 Value: alt3.aspmx.l.google.com
Priority: 10 Value: alt4.aspmx.l.google.com

If you're using Microsoft 365:

Priority: 0
Value: .mail.protection.outlook.com
For custom servers, consult your email service provider for the correct MX records.

Steps to Add MX Record:

Log in to your DNS hosting provider.
Add a new DNS record:
Type: MX
Host/Name: @ (or your domain name, e.g., rodarmour.com)
Value: MX server address (e.g., aspmx.l.google.com for Google or yourdomain.mail.protection.outlook.com for Microsoft 365).
Priority: Set as per the provider's recommendation (e.g., 1 or 0 for primary mail servers).
Save the record and wait for DNS propagation.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay