mail.domain.com), never directly to an IP address (like 192.168.1.1). If yours points to an IP, change it immediately.mail.example.com IN A 192.168.1.50
Name: @
Value: v=spf1 mx a ~all
TXT @ v=spf1 include:_spf.google.com ~all
TXT @ v=spf1 include:servers.mcsv.net ~all
TXT @ v=spf1 include:_spf.google.com include:servers.mcsv.net ~all
Name: _dmarc
Value: v=DMARC1; p=none; rua=mailto:admin@yourdomain.com;
v=spf1 mx a ~all• If you use Google Workspace/Office 365: Select Remote Mail Exchanger.
According to IETF RFC 5321 (the protocol that governs email transmission), an MX record must always point to a fully qualified domain name (FQDN), never directly to an IPv4 or IPv6 address. Many strict mail servers will instantly drop connections that violate this rule.
The Wrong Way
Name: @
Value: 192.168.1.100
The Correct Way
Name: @
Value: mail.domain.com
Type: A
Name: mail
Value: 192.168.1.100
If you buy a domain just for hosting a website and have no intention of ever receiving emails on it, you should configure a "Null MX" record. This prevents spammers from trying to bombard the domain and reduces unnecessary DNS lookups.
0 and the target must be exactly . (a single dot).Name: @
Priority: 0
Target: .