{"id":1734,"date":"2021-06-21T04:37:01","date_gmt":"2021-06-21T04:37:01","guid":{"rendered":"https:\/\/prodmarc.com\/knowledge\/?p=1734"},"modified":"2023-01-31T07:27:49","modified_gmt":"2023-01-31T07:27:49","slug":"mailgun-set-up-spf-and-dkim-records","status":"publish","type":"post","link":"https:\/\/knowledge.progist.net\/index.php\/2021\/06\/21\/mailgun-set-up-spf-and-dkim-records\/","title":{"rendered":"Set up SPF and DKIM records for Mailgun"},"content":{"rendered":"<p>In order to configure SPF and DKIM for Mailgun you have to added your domain\/s or subdomain\/s in their Control panel. Please follow the below steps to add the SPF and DKIM record for Mailgun:<\/p>\n<p><strong>SPF:<\/strong><\/p>\n<ol>\n<li>Sign in to your domain account at your domain host<\/li>\n<li>Locate page for updating your domain\u2019s DNS records<\/li>\n<li>Find your TXT records to check if you have an existing SPF record&nbsp;<\/li>\n<\/ol>\n<ul>\n<li>If you have an existing SPF record, follow the instructions below to update an existing SPF record with multiple mail servers.<\/li>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>In your existing SPF record, you will append&nbsp;<strong>include:mailgun.org<\/strong><\/li>\n<li>For example, if your existing record looked like&nbsp;<em>v=spf1; mx; ip4:1.2.3.4;<\/em>&nbsp;you would add the above include as follows&nbsp;<em>v=spf1; mx; ip4:1.2.3.4; include:mailgun.org;<\/em><\/li>\n<\/ul>\n<\/li>\n<li>If you do not have an SPF record, Create a new TXT record with the following values:\n<ul>\n<li>In the Name\/Host\/Alias field, enter @ or leave blank (other DNS records might indicate which one you need)<\/li>\n<li>In the Time to Live (TTL) field, enter 3600 or leave the default<\/li>\n<li>In the Value\/Answer\/Destination field, enter: v=spf1 include:mailgun.org ~all and Save the TXT record<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>DKIM:<\/strong><\/p>\n<p>1. The DKIM record that you will have to add to your DNS will be shown to you in the \u201cDomain Verification &amp; DNS\u201d section in the MailGun control panel.<br \/>\n2. Share this TXT record with your DNS provider.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to configure SPF and DKIM for Mailgun you have to added your domain\/s or subdomain\/s in their Control panel. Please follow the below steps to add the SPF<\/p>\n<p><a href=\"https:\/\/knowledge.progist.net\/index.php\/2021\/06\/21\/mailgun-set-up-spf-and-dkim-records\/\" class=\"more-link\">Continue Reading<span class=\"screen-reader-text\">Set up SPF and DKIM records for Mailgun<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","om_disable_all_campaigns":false,"footnotes":""},"categories":[6,16,17],"tags":[39,90,118,133],"class_list":["post-1734","post","type-post","status-publish","format-standard","hentry","category-dkim","category-spf","category-spfdkim","tag-dkim","tag-mailgun","tag-spf","tag-spf-dkim"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/posts\/1734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/comments?post=1734"}],"version-history":[{"count":1,"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/posts\/1734\/revisions"}],"predecessor-version":[{"id":2998,"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/posts\/1734\/revisions\/2998"}],"wp:attachment":[{"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/media?parent=1734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/categories?post=1734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/knowledge.progist.net\/index.php\/wp-json\/wp\/v2\/tags?post=1734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}