-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEMAIL_SECURITY_DNS.txt
More file actions
26 lines (22 loc) · 933 Bytes
/
Copy pathEMAIL_SECURITY_DNS.txt
File metadata and controls
26 lines (22 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Email Security & Spoofing Prevention Records
# ------------------------------------------------------------------
# Since 'cloudflared' strictly manages the tunnel connection, it cannot
# automatically create MX/TXT records for email security.
#
# PLEASE ADD THESE RECORDS MANUALLY IN THE CLOUDFLARE DASHBOARD -> DNS
# ------------------------------------------------------------------
# 1. NULL MX RECORD (Prevents others from trying to send mail to your domain)
Type: MX
Name: @
Mail Server: .
Priority: 0
# 2. SPF RECORD (Declares that NO server is authorized to send mail as you)
Type: TXT
Name: @
Content: v=spf1 -all
# 3. DMARC RECORD (Instructs receivers to instantly reject fake emails)
Type: TXT
Name: _dmarc
Content: v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s;
# 4. DKIM (Optional generic placeholder, mostly handled by DMARC 'reject' above)
# (Not strictly needed if SPF and DMARC are set to hard fail/reject)