How to Set Up DNS Records for Email Deliverability
DNS Records Required for Email Deliverability
Before sending email, configure these DNS records at your domain registrar:
1. MX Record
Tells the world where to deliver mail for your domain:
- Type: MX | Host:
@| Value:mail.yourdomain.com| Priority: 10
2. A Record for Mail Server
- Type: A | Host:
mail| Value:YOUR_SERVER_IP
3. SPF Record
Authorizes your server to send email:
- Type: TXT | Host:
@| Value:v=spf1 ip4:YOUR_SERVER_IP ~all
4. DKIM Record
Cryptographically signs outgoing email. Requires OpenDKIM setup on the server:
apt install opendkim opendkim-tools -y
Follow OpenDKIM configuration to generate keys and publish the public key as a TXT record.
5. DMARC Record
- Type: TXT | Host:
_dmarc| Value:v=DMARC1; p=quarantine; rua=mailto:[email protected]
6. Reverse DNS (rDNS / PTR)
Set this in the DartNode dashboard:
- Go to Network > Reverse DNS.
- Set the PTR record for your server's IP to
mail.yourdomain.com. - Wait for propagation (status will change from "Propagating" to "Propagated").
Important: Without proper rDNS, SPF, DKIM, and DMARC records, most email providers will reject or spam-filter your messages.