-
Notifications
You must be signed in to change notification settings - Fork 4
/
gsuite-cloudflare.txt
27 lines (23 loc) · 1.08 KB
/
gsuite-cloudflare.txt
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
27
;; Adds the following G Suite DNS records to Cloudflare:
;; - TXT Records: Domain Verification, SPF & DKIM
;; - MX Records: For inbound emails
;; All records will use the `AUTO` from Cloudflare for TTL. An example of one set for 300 seconds is under SPF section
;; === TXT Records ===
;; Domain Verification
;; YOU MUST CHANGE THIS TO YOUR GOOGLE SUPPLIED VERIFICATION
@ IN TXT "google-site-verification=132456789"
;; === MX Records ===
@ IN MX 1 aspmx.l.google.com.
@ IN MX 5 alt1.aspmx.l.google.com.
@ IN MX 5 alt2.aspmx.l.google.com.
@ IN MX 10 alt3.aspmx.l.google.com.
@ IN MX 10 alt4.aspmx.l.google.com.
;; SPF
;; COMMENT THIS OUT IF YOU ALREADY HAVE AN SPF AND MANUALLY UPDATE IT YOURSELF
;; ALREADY COMMENTED OUT SPF BELOW IS WITH A TIME SET TO 300 SECONDS/5 MINUTE AS AN EXAMPLE
;; @ 300 IN TXT "v=spf1 include:_spf.google.com ~all"
@ IN TXT "v=spf1 include:_spf.google.com ~all"
;; DKIM
;; UNCOMMENT AND CHANGE THIS TO YOUR DKIM OR LEAVE IT COMMENTED OUT.
;; UPDATE PREFIX SELECTOR BELOW IF NOT USING THE `GOOGLE` DEFAULT
;; google._domainkey IN TXT "CHANGE THIS WITH YOUR DKIM"