{"id":6504,"date":"2022-02-03T10:25:10","date_gmt":"2022-02-03T10:25:10","guid":{"rendered":"https:\/\/www.cldy.com\/support\/?post_type=docs&#038;p=6504"},"modified":"2022-12-17T23:58:19","modified_gmt":"2022-12-17T15:58:19","password":"","slug":"how-to-set-up-an-spf-record","status":"publish","type":"docs","link":"https:\/\/www.cldy.com\/support\/help\/how-to-set-up-an-spf-record\/","title":{"rendered":"How to Setup an SPF Record?"},"content":{"rendered":"<h2><strong>What Does SPF Do?<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">An SPF record (Sender Policy Framework) is a way for you to secure your email settings, in which only authorized hostnames and\/or IP addresses are the only ones who can send emails for you. It helps you protect your domain emails from security attacks such as spoofing and phishing. To create an SPF record, follow the steps here:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2><b>How To Create An SPF Record?<\/b><\/h2>\n<ul>\n<li><span style=\"font-weight: 400;\">Take note of these set of characters:<br \/>\n<\/span><strong>v=spf1<\/strong><br \/>\n<span style=\"font-weight: 400;\">This is how your SPF record will start.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Next, add the IP address\/es you will be authorizing. Here\u2019s an example:<br \/>\n<strong>v=spf1 ip4: 192.0.1.100<\/strong><br \/>\nYou can add multiple IP addresses as you prefer. An example would be:<br \/>\n<strong>v=spf1 ip4: 192.0.1.100 ip4: 192.0.1.101<\/strong><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">To authorize a third party, add the following:<\/span><br \/>\n<strong>include:thirdparty.com<\/strong><span style=\"font-weight: 400;\">For the tags, choose between:<br \/>\n<strong>~all<\/strong> (soft SPF fail)<br \/>\n<strong>\u2013all<\/strong> (hard SPF fail) (recommended for better restriction\/authorization)<br \/>\n<strong>?all<\/strong> (neutral \/ no setting)<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">The final record will look like this:<\/span><br \/>\n<strong>v=spf1 ip4: 192.0.1.100 ip4: 192.0.1.101 include:thirdparty.com \u2013all<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li>If you would like an SPF record that unauthorizes a domain to send emails, here\u2019s the text you should use:<br \/>\n<strong>v=spf1 \u2013all<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>How To Set Up An SPF Record?<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">Once you have your SPF record ready, you can set it up under your domain.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">1. First, log in to cPanel.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">2. Under <\/span><b>Domains<\/b><span style=\"font-weight: 400;\">, click on <\/span><b>Zone Editor<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-6505\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_domains-zone-editor.png\" alt=\"\" width=\"981\" height=\"186\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_domains-zone-editor.png 981w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_domains-zone-editor-300x57.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_domains-zone-editor-768x146.png 768w\" sizes=\"(max-width: 981px) 100vw, 981px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">3. On your selected domain, click on <\/span><b>Manage<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-6506\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-manage.png\" alt=\"\" width=\"1325\" height=\"377\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-manage.png 1325w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-manage-300x85.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-manage-1024x291.png 1024w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-manage-768x219.png 768w\" sizes=\"(max-width: 1325px) 100vw, 1325px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">4. The next page will show all DNS records for that domain. To add an SPF record, click on the dropdown box for <\/span><b>Add Record<\/b><span style=\"font-weight: 400;\">, and select <\/span><b>Add \u201cTXT\u201d Record<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-6507\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record.png\" alt=\"\" width=\"1317\" height=\"539\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record.png 1317w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record-300x123.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record-1024x419.png 1024w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record-768x314.png 768w\" sizes=\"(max-width: 1317px) 100vw, 1317px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">5. Fill out the required details:<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-6508\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record-save.png\" alt=\"\" width=\"1308\" height=\"475\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record-save.png 1308w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record-save-300x109.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record-save-1024x372.png 1024w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2022\/02\/cpanel_spf-record_zone-editor-add-txt-record-save-768x279.png 768w\" sizes=\"(max-width: 1308px) 100vw, 1308px\" \/><\/p>\n<p><span style=\"font-weight: 400;\"><i>Name<\/i>: Your domain name (do not include the \u201cwww.\u201d)<br \/>\n<i>TTL: <\/i>\u00a014400<br \/>\n<i>Type:<\/i> TXT<br \/>\n<i>Record: <\/i>Paste the created SPF record here<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Once done, click on <b>Save Record<\/b>.<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">6. Check your SPF record using an <\/span><a href=\"https:\/\/www.proofpoint.com\/us\/cybersecurity-tools\/dmarc-spf-creation-wizard\" rel=\"nofollow noopener\" target=\"_blank\"><span style=\"font-weight: 400;\">SPF check tool<\/span><\/a><span style=\"font-weight: 400;\">. This is simply an additional step to make sure that the SPF record was successfully created. You can also check if there are any IP addresses on the list that you do not recognize, or any IP addresses that you need added.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What Does SPF Do? An SPF record (Sender Policy Framework) is a way for you to secure your email settings, in which only authorized hostnames and\/or IP addresses are the only ones who can send emails for you. It helps you protect your domain emails from security attacks such as spoofing and phishing. To create [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[49],"doc_tag":[],"class_list":["post-6504","docs","type-docs","status-publish","hentry","doc_category-dns"],"year_month":"2026-06","word_count":356,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"syd123","author_nicename":"syd123","author_url":"https:\/\/www.cldy.com\/support\/author\/syd123\/"},"doc_category_info":[{"term_name":"DNS","term_url":"https:\/\/www.cldy.com\/support\/help-category\/dns\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/6504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/comments?post=6504"}],"version-history":[{"count":5,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/6504\/revisions"}],"predecessor-version":[{"id":8231,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/6504\/revisions\/8231"}],"wp:attachment":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/media?parent=6504"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_category?post=6504"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_tag?post=6504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}