{"id":30686,"date":"2022-10-21T12:44:18","date_gmt":"2022-10-21T12:44:18","guid":{"rendered":"https:\/\/easydmarc.com\/blog\/?p=30686"},"modified":"2025-07-30T12:01:33","modified_gmt":"2025-07-30T12:01:33","slug":"how-to-create-an-spf-record","status":"publish","type":"post","link":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/","title":{"rendered":"How to Create an SPF Record"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">It\u2019s frightening to know that as many as <\/span><a href=\"https:\/\/www.deloitte.com\/southeast-asia\/en\/about.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">91% of all cybercrimes<\/span><\/a><span style=\"font-weight: 400;\"> start with a phishing email sent to a target. The figures have risen significantly post covid, making it important to secure email domains. But how can this be done?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can implement SPF, the first step towards DMARC compliance. You can also set up DKIM, and finally, DMARC\u2014an email authentication standard that prevents fraudulent emails using your company\u2019s domain name from being delivered.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To <a href=\"https:\/\/easydmarc.com\/blog\/smtp-com-spf-and-dkim-configuration\/\">set up SPF<\/a> correctly, you need to <\/span><b>create SPF records <\/b><span style=\"font-weight: 400;\">for every domain your company uses to send emails from. This blog focuses on <\/span><b>how to create an SPF record <\/b><span style=\"font-weight: 400;\">and its importance. First, let\u2019s see<\/span> <a href=\"https:\/\/easydmarc.com\/blog\/what-is-sender-policy-framework-spf-a-bit-of-history\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">what SPF is<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h2><b>What is SPF?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">SPF stands for Sender Policy Framework, an email authentication protocol that permits only authorized IP addresses to deliver emails on your company\u2019s behalf. This means you can specify all trusted mail servers and third party email providers permitted to send emails using your company\u2019s domain or name.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You\u2019ll need to <\/span><b>create an SPF record<\/b><span style=\"font-weight: 400;\"> for every sending domain and subdomain. It\u2019s a type of TXT record that gets published on your domain\u2019s DNS (domain name system). The SPF record contains a list of all authorized sending sources for a specific domain.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">But do you know <\/span><a href=\"https:\/\/easydmarc.com\/blog\/how-does-an-spf-record-work\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">how an SPF record works<\/span><\/a><span style=\"font-weight: 400;\">? When an email is sent, the recipient server verifies it using the SPF record and querying the domain\u2019s return-path value mentioned in the email header.\u00a0\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The return-path is a hidden email header that tells receiving servers where bounced emails should go and how they should be treated.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The recipient server retrieves the SPF record from a particular domain\u2019s\u00a0 DNS server. It then checks if the sender\u2019s IP address contained in the return-path matches the list of IP addresses in the SPF record. This determines whether a sender is permitted to send emails from that domain or not. If yes, the SPF check passes, if not, it fails.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Adding an SPF record to your DNS<\/span><span style=\"font-weight: 400;\"> is recommended<\/span> <span style=\"font-weight: 400;\">as bad actors will be less likely to use your domain as a spam vector. <\/span><b>Generating SPF records<\/b><span style=\"font-weight: 400;\"> for all your sending domains also improves overall deliverability rates.<\/span><\/p>\n<h2><b>Before Setting up the SPF Record<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">To <\/span><b>generate an SPF record<\/b><span style=\"font-weight: 400;\">, you need to ensure there isn\u2019t a pre-existing record for your sending domain as only one is permitted. You can use EasyDMARC\u2019s free<\/span><a href=\"https:\/\/easydmarc.com\/tools\/spf-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\"> SPF lookup tool<\/span><\/a><span style=\"font-weight: 400;\"> to check whether it\u2019s missing. If so, you can proceed with the steps listed below.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you already have an SPF record but configuration issues or other errors exist, you\u2019ll need to modify and update it to get it working properly.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now, let\u2019s see <\/span><b>how to create an SPF record<\/b><span style=\"font-weight: 400;\"> in five steps.<\/span><\/p>\n<h2><b>Gather the IP Addresses For All Your Senders<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">To <\/span><a href=\"https:\/\/easydmarc.com\/tools\/spf-record-generator\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">generate an SPF record<\/span><\/a><span style=\"font-weight: 400;\">, identify which mail servers your company uses for sending emails. Some organizations use multiple sources to send emails.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">So, to <\/span><b>create an SPF record<\/b><span style=\"font-weight: 400;\">, first make a list of all sending mail servers and their respective IP addresses. Also consider all the entities authorized to send emails on your company\u2019s behalf. Your list may include:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Web servers<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Email service provider\u2019s mail servers<\/span><\/li>\n<li><span style=\"font-weight: 400;\">In-office mail servers like Microsoft Exchange<\/span><\/li>\n<li><span style=\"font-weight: 400;\">End users\u2019 email service providers<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Third parties sending emails on your behalf; for example, your PR agency<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">If you aren\u2019t sure about the IP addresses, it\u2019s best to reach out to your email service provider to obtain a list of all the IP addresses associated with your account.<\/span><\/p>\n<h2><b>Gather All Sending Domains<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">It\u2019s possible that your company has multiple domains, but only a few are used for sending emails. To <\/span><b>set up an SPF record<\/b><span style=\"font-weight: 400;\"> in such a case, you must <\/span><b>create SPF records <\/b><span style=\"font-weight: 400;\">for all the domains you control.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This also includes the ones not used for mailing. It\u2019s absolutely necessary because hackers often spoof non-sending domains, even if the sending domains have SPF records.<\/span><\/p>\n<h2><b>Create an SPF Record<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Once you\u2019ve compiled your list of sources permitted to send emails on behalf of your domain, you can <\/span><b>create an SPF record<\/b><span style=\"font-weight: 400;\">. Here\u2019s how:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Start with the v=spf1 tag, which tells servers that this is an SPF record.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">After the v=spf1 tag, list all authorized IP addresses. For example: \u201cv=spf1 ip4:34.263.61.227 ip6:2a03:d015:e3:8c00:bb61:dea4:8b43:851e\u201d<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Next, add an \u2018include\u2019 statement for any third party authorized to send emails on your behalf. For example: \u201cinclude:3rdpartydomain.com\u201d\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Be sure to ask such a third party for the correct domain to include here.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">After adding all authorized IP addresses and \u2018include\u2019 statements, use the ~all or -all tag to end the SPF record.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">~all indicates a soft fail, where emails failing SPF verification are typically delivered to the junk or spam folders.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-all indicates a hard fail, where email failing SPF verification are rejected and blocked.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The +all tag should never be used as it allows all emails from unverified sources to be delivered.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Using the correct <\/span><a href=\"https:\/\/easydmarc.com\/blog\/spf-record-syntax-structure-and-components\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">SPF record syntax<\/span><\/a><span style=\"font-weight: 400;\"> is vital and the record should be no more than 255 characters long. It shouldn\u2019t have more than 10 \u2018include\u2019 statements, either. Here\u2019s an <\/span><span style=\"font-weight: 400;\">SPF record example<\/span><span style=\"font-weight: 400;\">:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">v=spf1 ip4:1.2.3.4 ip4:2.3.4.5 include:thirdparty.com -all.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It seems complicated but you can use <\/span><a href=\"https:\/\/easydmarc.com\/tools\/spf-record-generator\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">EasyDMARC\u2019s SPF record generator<\/span><\/a><span style=\"font-weight: 400;\"> to do this quickly and easily.<\/span><\/p>\n<h2><b>Publish the SPF Record in Your DNS<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">We\u2019ve answered the question: \u2018<\/span><b>How to create an SPF record for my domain?<\/b><span style=\"font-weight: 400;\">\u2019 Next, here&#8217;s how you can publish it to your DNS.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you\u2019re using the services of a good hosting provider, the job gets simpler.\u00a0<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">First, sign in to your domain&#8217;s management console, choose which domain you\u2019re adding an SPF record to, and go to \u2018manage DNS records.\u2019<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Next, go to the \u2018add DNS TXT record\u2019 option.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Enter your domain in the \u2018Host value\u2019 field.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">The \u2018TXT value\u2019 field is where you\u2019ll copy and paste the SPF record you created, as explained above.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Leave the Time to Live (TTL) as the default, usually 300.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Hit \u2018Add record\u2019 and you\u2019re done.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">The SPF record has to be applied to subdomains, so check whether your domain provider allows you to add SPF records directly to subdomains. If not, add another SPF record to your primary domain using the steps above and change the \u2018Host Value\u2019 to apply it to the subdomain.<\/span><\/p>\n<h2><b>Ensure the Record Works<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Test if your SPF record is working with EasyDMARC\u2019s free <\/span><a href=\"https:\/\/easydmarc.com\/tools\/spf-record-raw-check-validate\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">SPF record checker tool<\/span><\/a><span style=\"font-weight: 400;\">. You\u2019ll then see a list of the servers authorized to send emails on behalf of your sending domain. The tool also picks up any misconfigurations or typos to ensure quick and easy validation.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If one or more of your legitimate sending IP addresses isn\u2019t listed, you can update your record to include it.<\/span><\/p>\n<h2><b>Summary<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Adding an SPF record to DNS is a practical way to prevent threat actors from exploiting your domain to send fraudulent and malicious emails. It lowers bounce backs, increasing your domain reputation and <\/span><a href=\"https:\/\/easydmarc.com\/blog\/how-dmarc-can-improve-email-deliverability\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">improving email deliverability<\/span><\/a><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once you\u2019ve correctly created an SPF record and published it, only emails from authorized senders pass SPF verification. SPF isn\u2019t only an easy way to minimize email fraud, it\u2019s also a crucial step towards DMARC compliance.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s frightening to know that as many as &#8230;<\/p>\n","protected":false},"author":1,"featured_media":31873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[204,203,286],"tags":[],"class_list":["post-30686","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-email-security","category-spf"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Create an SPF Record | EasyDMARC<\/title>\n<meta name=\"description\" content=\"Do you want to create an SPF record? Find out what to do beforehand and how to generate your SPF record quickly and easily here.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create an SPF Record\" \/>\n<meta property=\"og:description\" content=\"Do you want to create an SPF record? Find out what to do beforehand and how to generate your SPF record quickly and easily here.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/\" \/>\n<meta property=\"og:site_name\" content=\"EasyDMARC\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/EasyDMARC\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-21T12:44:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-30T12:01:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/10\/How-to-Create-an-SPF-Record_-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1440\" \/>\n\t<meta property=\"og:image:height\" content=\"910\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"EasyDMARC\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:site\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"EasyDMARC\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/\"},\"author\":{\"name\":\"EasyDMARC\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/449261e9810b270cc697c7c9c5b89e97\"},\"headline\":\"How to Create an SPF Record\",\"datePublished\":\"2022-10-21T12:44:18+00:00\",\"dateModified\":\"2025-07-30T12:01:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/\"},\"wordCount\":1236,\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/How-to-Create-an-SPF-Record_-2.jpg\",\"articleSection\":[\"Blog\",\"Email Security\",\"SPF\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/\",\"name\":\"How to Create an SPF Record | EasyDMARC\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/How-to-Create-an-SPF-Record_-2.jpg\",\"datePublished\":\"2022-10-21T12:44:18+00:00\",\"dateModified\":\"2025-07-30T12:01:33+00:00\",\"description\":\"Do you want to create an SPF record? Find out what to do beforehand and how to generate your SPF record quickly and easily here.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/#primaryimage\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/How-to-Create-an-SPF-Record_-2.jpg\",\"contentUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/How-to-Create-an-SPF-Record_-2.jpg\",\"width\":1440,\"height\":910,\"caption\":\"How to Create an SPF Record 2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-an-spf-record\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Email Security\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/blog\\\/email-security\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"SPF\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/blog\\\/email-security\\\/spf\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to Create an SPF Record\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/\",\"name\":\"EasyDMARC\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/#organization\",\"name\":\"EasyDMARC\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/img\\\/logo.png\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/EasyDMARC\\\/\",\"https:\\\/\\\/x.com\\\/easydmarc\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/easydmarc\\\/mycompany\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/449261e9810b270cc697c7c9c5b89e97\",\"name\":\"EasyDMARC\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"caption\":\"EasyDMARC\"},\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/author\\\/easydmarc\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Create an SPF Record | EasyDMARC","description":"Do you want to create an SPF record? Find out what to do beforehand and how to generate your SPF record quickly and easily here.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/","og_locale":"en_US","og_type":"article","og_title":"How to Create an SPF Record","og_description":"Do you want to create an SPF record? Find out what to do beforehand and how to generate your SPF record quickly and easily here.","og_url":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/","og_site_name":"EasyDMARC","article_publisher":"https:\/\/www.facebook.com\/EasyDMARC\/","article_published_time":"2022-10-21T12:44:18+00:00","article_modified_time":"2025-07-30T12:01:33+00:00","og_image":[{"width":1440,"height":910,"url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/10\/How-to-Create-an-SPF-Record_-2.jpg","type":"image\/jpeg"}],"author":"EasyDMARC","twitter_card":"summary_large_image","twitter_creator":"@easydmarc","twitter_site":"@easydmarc","twitter_misc":{"Written by":"EasyDMARC","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/#article","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/"},"author":{"name":"EasyDMARC","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/449261e9810b270cc697c7c9c5b89e97"},"headline":"How to Create an SPF Record","datePublished":"2022-10-21T12:44:18+00:00","dateModified":"2025-07-30T12:01:33+00:00","mainEntityOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/"},"wordCount":1236,"publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/10\/How-to-Create-an-SPF-Record_-2.jpg","articleSection":["Blog","Email Security","SPF"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/","url":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/","name":"How to Create an SPF Record | EasyDMARC","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/#primaryimage"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/10\/How-to-Create-an-SPF-Record_-2.jpg","datePublished":"2022-10-21T12:44:18+00:00","dateModified":"2025-07-30T12:01:33+00:00","description":"Do you want to create an SPF record? Find out what to do beforehand and how to generate your SPF record quickly and easily here.","breadcrumb":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/#primaryimage","url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/10\/How-to-Create-an-SPF-Record_-2.jpg","contentUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/10\/How-to-Create-an-SPF-Record_-2.jpg","width":1440,"height":910,"caption":"How to Create an SPF Record 2"},{"@type":"BreadcrumbList","@id":"https:\/\/easydmarc.com\/blog\/how-to-create-an-spf-record\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/easydmarc.com\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/easydmarc.com\/blog\/category\/blog\/"},{"@type":"ListItem","position":3,"name":"Email Security","item":"https:\/\/easydmarc.com\/blog\/category\/blog\/email-security\/"},{"@type":"ListItem","position":4,"name":"SPF","item":"https:\/\/easydmarc.com\/blog\/category\/blog\/email-security\/spf\/"},{"@type":"ListItem","position":5,"name":"How to Create an SPF Record"}]},{"@type":"WebSite","@id":"https:\/\/easydmarc.com\/blog\/#website","url":"https:\/\/easydmarc.com\/blog\/","name":"EasyDMARC","description":"Blog","publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/easydmarc.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/easydmarc.com\/#organization","name":"EasyDMARC","url":"https:\/\/easydmarc.com\/","logo":{"@type":"ImageObject","url":"https:\/\/easydmarc.com\/img\/logo.png"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/EasyDMARC\/","https:\/\/x.com\/easydmarc","https:\/\/www.linkedin.com\/company\/easydmarc\/mycompany\/"]},{"@type":"Person","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/449261e9810b270cc697c7c9c5b89e97","name":"EasyDMARC","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","caption":"EasyDMARC"},"url":"https:\/\/easydmarc.com\/blog\/author\/easydmarc\/"}]}},"jetpack_featured_media_url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/10\/How-to-Create-an-SPF-Record_-2.jpg","_links":{"self":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/30686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/comments?post=30686"}],"version-history":[{"count":2,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/30686\/revisions"}],"predecessor-version":[{"id":50037,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/30686\/revisions\/50037"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media\/31873"}],"wp:attachment":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media?parent=30686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/categories?post=30686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/tags?post=30686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}