How to Set Up DNS Email Records: MX, DKIM, DMARC, SPF, and SRV Configuration Guide

How to Set Up DNS Email Records: MX, DKIM, DMARC, SPF, and SRV Configuration Guide

By Michael Chen

January 21, 2025 at 02:32 PM

Email DNS Records Setup Guide

A comprehensive guide to configure DNS records for email services on domains managed by Squarespace or connected via Nameserver Connect.

Access Your Domain Settings

  1. Open domain control panel
  2. Click domain name
  3. Navigate to DNS settings

MX Records Setup

  • Purpose: Directs email servers to your email service provider
  • Options:
    1. Use pre-configured records for popular providers:
      • Google Workspace
      • Microsoft 365
      • Fastmail
      • Proton Mail
      • Neo
      • Titan
      • iCloud
      • Zoho Mail
    2. Manual configuration:
      • Select MX record type
      • Enter @ in Host field (or subdomain if applicable)
      • Set priority (0-255)
      • Input mail server URL in Data field

Table display screen

Table display screen

DKIM and SPF Records

  • Purpose: Verify email identity and prevent unauthorized sending
  • Configuration:
    1. Choose TXT or CNAME record type
    2. Enter host information or @ in Host field
    3. Input DKIM/SPF record in Data field
    4. Multiple SPF records will automatically consolidate

DMARC Record Setup

  • Purpose: Verify domain for marketing emails
  • Steps:
    1. Select TXT record type
    2. Enter _dmarc in Host field
    3. Input provider's TXT record value
    4. Note: Only one DMARC record allowed per domain

SRV Record Configuration

  1. Gather required information:

    • Service name (_smtp, _sip)
    • Protocol (_tcp, _tls)
    • Priority/TTL (optional)
    • Weight (single digit)
    • Port number
    • Target URL
  2. Add record:

    • Select SRV type
    • Enter Service.Protocol in Host field
    • Input Weight, Port, Target in Data field
    • Format: "1 100 target.test.com"

For troubleshooting assistance, consult your domain provider's DNS documentation or support resources.

Related Articles

Previous Articles