Skip to content

Instantly share code, notes, and snippets.

@kift
Forked from Dweez/dns-subdomain-gandi-mailgun.txt
Last active October 25, 2017 06:04
Show Gist options
  • Save kift/e3a729b5b33c2feeb430c2dcc779b538 to your computer and use it in GitHub Desktop.
Save kift/e3a729b5b33c2feeb430c2dcc779b538 to your computer and use it in GitHub Desktop.
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: `mail.domain.com`
@ 10800 IN A MAILGUN.IP
mail 10800 IN CNAME mailgun.org.
mail 1800 IN TXT "v=spf1 include:mailgun.org ~all"
mailo._domainkey.mail 10800 IN TXT "k=rsa; p=MIG...QAB"
email.mail 1800 IN CNAME mailgun.org.
mail 1800 IN MX 10 mxa.mailgun.org.
mail 1800 IN MX 10 mxb.mailgun.org.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment