DNS Records Guide: How to Configure MX, DKIM, DMARC, SPF, and SRV for Email Setup

DNS Records Guide: How to Configure MX, DKIM, DMARC, SPF, and SRV for Email Setup

By Michael Chen

January 21, 2025 at 01:19 PM

Email DNS Records Setup Guide

Configure email-related DNS records (MX, DKIM, DMARC, SPF, and SRV) for your domain with these step-by-step instructions.

MX Records MX records direct email traffic to the correct mail servers. Add them when using third-party email services.

For Popular Email Providers:

  • Use preset records for Google Workspace, Microsoft 365, Fastmail, Proton Mail, Neo, Titan, iCloud, or Zoho Mail
  • Access DNS settings and select the appropriate preset

For Custom Email Providers:

  1. Go to DNS Settings > Custom Records
  2. Click Add Record
  3. Select MX as Type
  4. Enter @ in Host field (or subdomain if applicable)
  5. Set Priority (0-255)
  6. Input mail server URL in Data field
  7. Save and repeat for additional records

DKIM and SPF Records These TXT records authenticate your email and prevent unauthorized use.

To Add DKIM/SPF:

  1. Navigate to Custom Records
  2. Select TXT or CNAME as Type
  3. Enter host information or @ in Host field
  4. Input provider's DKIM/SPF record in Data field
  5. Save changes

Product grid for sale

Product grid for sale

DMARC Records DMARC verifies your domain for email marketing activities.

Setup Steps:

  1. Go to Custom Records
  2. Select TXT as Type
  3. Enter _dmarc in Host field
  4. Add provider's TXT record value in Data field
  5. Save changes

Note: Only one DMARC record is allowed per domain. Combine multiple records if needed.

SRV Records Service Records connect your domain to email or other services.

Required Information:

  • Service name (e.g., _smtp)
  • Protocol (e.g., _tcp)
  • Priority/TTL (optional)
  • Weight (single digit)
  • Port number
  • Target URL

To Add SRV Record:

  1. Access Custom Records
  2. Select SRV as Type
  3. Enter Service.Protocol in Host field
  4. Add Priority if available
  5. Input "Weight Port Target" in Data field
  6. Save changes

Verify all records are properly configured and allow time for propagation. Contact your email provider for specific record values and troubleshooting assistance.

Related Articles

Previous Articles