DirectAdmin Manual

Helping you get the most out of DirectAdmin and your web!

Email DNS: MX, SPF, DKIM and DMARC

Email DNS records select the delivery destination and help recipients confirm that a message is authorized for your domain.

MX – incoming mail destination

Enter MX records exactly as supplied by the mail provider. The target must be a hostname, not an IP address. Lower numbers have higher priority. External mail normally also requires local delivery to be disabled in DirectAdmin. See MX records and external mail.

SPF – authorized sending servers

SPF is a TXT record at the root domain. Combine every legitimate sender in one SPF record; two separate records beginning with v=spf1 cause an SPF error. Never copy an unrelated domain's value.

DKIM – outgoing message signature

DKIM publishes a public key in TXT, often under a name such as x._domainkey. Obtain the selector and complete value from DirectAdmin or the mail provider. Copy the entire record when DNS is hosted externally.

DMARC – policy and reports

DMARC is a TXT record at _dmarc. Start with the monitoring policy p=none and review reports. Use quarantine or reject only after every legitimate sender passes alignment, or your own mail may be rejected.

Verify after editing

  • Confirm that only one SPF record is returned.
  • Confirm the DKIM selector matches the sending service.
  • Send a test to another platform and review SPF, DKIM and DMARC results in the headers.
  • When asking support, include the full error and exact test time, never a password.
Back to chapter overviewContact Euroserver support