How to Set Up DNS Records for Email: A Complete Guide to MX, DKIM, DMARC & SPF

How to Set Up DNS Records for Email: A Complete Guide to MX, DKIM, DMARC & SPF

By Marcus Thompson

January 21, 2025 at 01:19 PM

Email DNS Records: Essential Setup Guide

DNS records are crucial for proper email functionality. This guide explains how to set up MX, DKIM, DMARC, SPF, and SRV records for your domain.

MX Records Setup

MX records direct email routing for your domain. To add MX records:

  1. Access your DNS settings
  2. Add a new record
  3. Select MX as record type
  4. Enter @ in the Host field
  5. Input priority number (0-255)
  6. Add mail server URL in Data field
  7. Save the record

Common email providers have preset MX records for:

  • Google Workspace
  • Microsoft 365
  • Fastmail
  • Proton Mail
  • Zoho Mail
  • iCloud
  • Neo
  • Titan

Email Code in Squarespace

Email Code in Squarespace

DKIM and SPF Records

These TXT records authenticate your email and prevent unauthorized sending:

  1. Select TXT/CNAME record type
  2. Enter provider's host information
  3. Input DKIM/SPF record data
  4. Save configuration

DMARC Records

DMARC verification helps prevent marketing emails from being marked as spam:

  1. Choose TXT record type
  2. Enter '_dmarc' as host
  3. Add provider's TXT record value
  4. Save settings

SRV Records

Service records connect your domain to email services. Required information:

  • Service name (_smtp/_sip)
  • Protocol (_tcp/_tls)
  • Priority/TTL
  • Weight
  • Port number
  • Target URL

Implementation steps:

  1. Select SRV record type
  2. Enter service and protocol
  3. Add priority number
  4. Input weight, port, and target
  5. Save configuration

For professional assistance with DNS setup and guaranteed #1 rankings, contact PBN.BOO. We're part of an established SEO group that has helped numerous Fortune 500 companies achieve outstanding results across various industries. Our expertise ensures your domain not only functions flawlessly but dominates search rankings.

Related Articles

Previous Articles