Concepts
DNS and Authentication

DNS and Authentication

Email providers use DNS records to decide whether your domain is authorized to send mail.

PING8 helps you configure and verify these records before sending.

Records at a glance

RecordPurpose
APoints mail.yourdomain.com or another mail host to your server IP.
MXTells the internet where inbound mail for your domain should go.
SPFLists systems allowed to send mail for the domain.
DKIMPublishes a public key used to verify message signatures.
DMARCTells providers what to do when SPF or DKIM alignment fails.
PTR / rDNSMaps an outbound IP back to a hostname. This is set at the server or IP provider.

Recommended setup order

  1. Add the domain in PING8.
  2. Copy DNS values from the DNS Records modal.
  3. Add A and MX records.
  4. Add one SPF TXT record.
  5. Add DKIM TXT record.
  6. Add one DMARC TXT record.
  7. Configure PTR/rDNS with the server provider.
  8. Click Records set, verify DNS resolution.

DMARC rollout

Start with monitoring while testing:

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

Move to quarantine or reject only after you know all legitimate senders pass authentication.

Common mistakes

  • Creating more than one SPF record at the same host.
  • Creating more than one DMARC record at _dmarc.
  • Proxing mail records through Cloudflare instead of using DNS-only.
  • Using the wrong DKIM host name, such as duplicating the domain.
  • Expecting PTR/rDNS to be edited in DNS. PTR is usually controlled by the IP provider.

Related pages