Skip to content

Instantly share code, notes, and snippets.

@Shivawkes
Shivawkes / dns-subdomain-gandi-mailgun.txt
Last active March 26, 2018 16:01 — forked from luanshiliuxng/dns-subdomain-gandi-mailgun.txt
Gandi subdomain DNS configuration for Mailgun validation
# Gandi subdomain DNS configuration for Mailgun validation
# - Add the SPF record as TXT and SPF
# - Suffix the DKIM record and `email` CNAME with the subdomain
# ex: `mg.domain.com`
mg 10800 IN CNAME mailgun.org.
@ 10800 IN SPF "v=spf1 include:mailgun.org ~all"
@ 10800 IN TXT "v=spf1 include:mailgun.org ~all"
mailo._domainkey.mg 10800 IN TXT "k=rsa; p=MIG...QAB"
email.mg 10800 IN CNAME mailgun.org.
@ 10800 IN MX 10 mxa.mailgun.org.