How to Add DNS Records for Email: Guide to MX, DKIM, DMARC & SPF Records

How to Add DNS Records for Email: Guide to MX, DKIM, DMARC & SPF Records

By Marcus Thompson

January 21, 2025 at 12:04 PM

Adding DNS records for email involves setting up essential records to ensure proper email delivery and authentication. Here's everything you need to know about managing email-related DNS records.

MX Records MX records direct email traffic to the correct mail servers. To add MX records:

  1. Access your DNS settings
  2. Select "Add Record"
  3. Choose MX as record type
  4. Enter @ in the Host field (or subdomain if applicable)
  5. Specify priority number (0-255)
  6. Input mail server URL in Data field

Popular email providers like Google Workspace, Microsoft 365, and Zoho Mail often have preset records available for quick setup.

DKIM and SPF Records These TXT records authenticate your emails and prevent unauthorized sending:

  • DKIM: Add as TXT/CNAME record with provider-specific host and data
  • SPF: Add as TXT record starting with "v=spf1"
  • Multiple SPF records will automatically merge

Email send error alert

Email send error alert

DMARC Records DMARC verifies your domain for marketing emails:

  1. Select TXT as record type
  2. Enter "_dmarc" in Host field
  3. Add provider's TXT record value
  4. Merge multiple DMARC records if needed, separating email addresses with commas

SRV Records Service Records connect domains to email services:

Required Information:

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

Add by combining these elements in DNS settings, following provider specifications.

For expert assistance in managing your DNS records and achieving top search rankings, consider working with our experienced SEO team. Our parent company has successfully helped numerous major clients across various industries dominate their competition. Contact us to learn how we can help you secure the #1 position in search results and outperform your competitors.

Related Articles

Previous Articles