Need Guidance on SPF Flattening for Zoho Mail Configuration

Need Guidance on SPF Flattening for Zoho Mail Configuration

Hi everyone,

I'm hoping to get some advice on optimizing my SPF record for a Zoho Mail setup. I use Zoho Mail along with several other Zoho services, and as a result, my current SPF record has grown to include multiple include mechanisms. My Cloudflare record looks like this:

v=spf1 include:zcsend.net include:transmail.net include:zoho.com include:zohomail.com include:one.zoho.com ~all

When I run this SPF record through various online validation tools, I'm consistently flagged for a couple of critical issues:

  1. Excessive DNS Lookups: The record results in 11 DNS lookups, which is over the permitted limit of 10. I understand this can cause some receiving mail servers to fail the SPF check outright, potentially leading to delivery problems.
  2. Duplicate IP Mechanisms: The validator reports several warnings about duplicate IP addresses, with errors like: "Duplicate ip4 mechanism. The value 'ip4:136.143.188.0/24' is invalid." It seems the IP ranges from the different Zoho include statements overlap.

The recommendation from these tools is to perform SPF Flattening. I understand the basic concept—to consolidate all the IP addresses from the various include statements into a single, flat list of ip4 and ip6 ranges to reduce the lookup count and clean up the duplicates.

However, I want to make sure I implement this correctly for Zoho's ecosystem. My main questions are:

  • What is the most reliable way to gather all of the current IP ranges that Zoho uses for email sending, considering all these different services (zcsend.nettransmail.net, etc.)?
  • Is there a recommended tool or process for generating an accurate flattened record that won't break my email delivery?
  • Once flattened, I'm concerned about maintenance. If Zoho adds new IP addresses in the future, my flattened record will become outdated. What is the best practice for handling these updates? Should I manually re-check and update the record periodically, or are there better solutions?

I would greatly appreciate any detailed steps, personal experiences, or best practices you can share. Thank you in advance for your help

    Access your files securely from anywhere











                            Zoho Developer Community





                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                  • Ask the Experts



                                                            • Sticky Posts

                                                            • Important update! Re-authentication mandated for sensitive admin operations in Admin Console.

                                                              Dear Zoho Mail Community, Hope you're all doing good and staying safe! As we strive to provide you with better security for your business email needs, an additional measure has been taken to ensure more security to the sensitive Admin Operations performed
                                                            • Important announcement: IPv6 support in Inbound gateway

                                                              Greetings from Zoho Mail team. We are happy to announce the support of IPv6 support for receiving emails in Zoho Mail. This post mainly addresses the admins who have configured inbound gateway for their organisation. As a part of the changes related to
                                                            • Administrators now have permissions to access the Subscription and Payment details.

                                                              Hello everyone! Hope you are all staying safe during these trying times. To ensure that your organization's email service, the backbone of communication, does not get affected due to inadvertent negligence by the super administrator, we have made a few changes in our roles and permissions to handle subscription and renewal smoothly. Earlier, any organization's Subscription and Payment information in Zoho Mail could be accessed only by the organization's Super Administrator. Now, based on requests
                                                            • Move ahead from Docs to WorkDrive - WorkDrive is now available in all Workplace plans!

                                                              Dear all,  We are glad to announce that WorkDrive is available across all the Workplace plans, with added storage and extensive team features.  Zoho WorkDrive is now available for all users, including those who subscribed before Zoho WorkDrive was introduced
                                                            • Announcement - Changes in Custom login page

                                                              In continuation to our efforts in protecting your Zoho Mail account we have made a few changes in the custom login page. We are making some enhancements in the browser to server communication to make it more secure.  You may be aware of the most of the modern web browsers mandate certain security practices to showing the webpages as 'Secure'.  We are rolling out the security related enhancements ensure that our custom login page accessed only in https mode and the authentication is securely done


                                                            Manage your brands on social media



                                                                  Zoho TeamInbox Resources



                                                                      Zoho CRM Plus Resources

                                                                        Zoho Books Resources


                                                                          Zoho Subscriptions Resources

                                                                            Zoho Projects Resources


                                                                              Zoho Sprints Resources


                                                                                Qntrl Resources


                                                                                  Zoho Creator Resources



                                                                                      Zoho CRM Resources

                                                                                      • CRM Community Learning Series

                                                                                        CRM Community Learning Series


                                                                                      • Kaizen

                                                                                        Kaizen

                                                                                      • Functions

                                                                                        Functions

                                                                                      • Meetups

                                                                                        Meetups

                                                                                      • Kbase

                                                                                        Kbase

                                                                                      • Resources

                                                                                        Resources

                                                                                      • Digest

                                                                                        Digest

                                                                                      • CRM Marketplace

                                                                                        CRM Marketplace

                                                                                      • MVP Corner

                                                                                        MVP Corner







                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now


                                                                                            Zoho Show Resources


                                                                                              Zoho Writer Writer

                                                                                              Get Started. Write Away!

                                                                                              Writer is a powerful online word processor, designed for collaborative work.

                                                                                                Zoho CRM コンテンツ




                                                                                                  Nederlandse Hulpbronnen


                                                                                                      ご検討中の方




                                                                                                            • Recent Topics

                                                                                                            • Is there a Waiting Room Before The Webinar Starts?

                                                                                                              It appears that there is no waiting room before a webinar starts. For example, with most webinar software you can collaborate with your co-presenter, set up your presentation and check to make sure everything sounds right before you go live. Zoho Meeting/Webinar
                                                                                                            • Optimizing Zoho CRM Integration – Tips & Insights Needed

                                                                                                              I hope you're all doing great! I'm currently working on integrating Zoho CRM with our platform, which helps users get iPhone Free of cost through verified government programs. Everything's coming together nicely so far, but I'd really appreciate some
                                                                                                            • Forms - Workflow

                                                                                                              Apologies if this has been asked before. I would like to know if there is a way to setup a form where a customer completes the fields/questions on Page 1 and then it is forwarded to an internal department employee who completes the fields/questions on
                                                                                                            • Using the "Like" operator in Custom Formula

                                                                                                              HI there, Can someone please explain the way to use the "LIKE" operator in an IF statement to compare strings? I have tried the following but am not getting the results I'm after. if( "CurrentStatus" like 'Rejected*','Unsuccessful','Pipeline') Thanks Matt
                                                                                                            • ABA Files payment description

                                                                                                              Hi, is there a way to automate the payment description on the ABA file creation. When you paying many vendors having to put this in each time is very time-consuming. I couldn't see if there was a way to workflow this to automate using deluge.
                                                                                                            • GDPR Contd. - Handling Lawful Bases for Your Customers using Zoho CRM.

                                                                                                              Hello folks,   Continuing from our previous GDPR post, we bring to you the first cut of GDPR centric enhancements that are released for handling lawful bases for your customers in Zoho CRM. For your understanding we have split the entire process into three sections: Identifying Data Processing Basis Updating the Data Processing Basis in Zoho CRM  Consent Management in Zoho CRM 1. Identifying Data Processing Basis The fundamental principle to handle the personal data of your data subjects is to process
                                                                                                            • Upgrade the Lato font to the Lato 2 font

                                                                                                              While there's not a major difference, I noticed that Zoho doesn't use the upgraded Lato 2 font but it instead uses the standard one. Lato 2 enhances the look of letters and numbers when you italicize them, among little things that get tweaked. Is it possible
                                                                                                            • Masked Field Type with Permission-Controlled Visibility in Zoho CRM

                                                                                                              Dear Zoho CRM Team, Greetings, We would like to request a new feature that would enhance data security and access control within Zoho CRM, especially when handling sensitive internal information. Use Case: Our team occasionally needs to store sensitive
                                                                                                            • How to properly setup Databridge on Linux Server?

                                                                                                              Hello guys, i am running a Linux server on which I am installing the Zoho Databridge via command line. The Zoho tutorial ( https://help.zoho.com/portal/en/kb/analytics/user-guide/import-connect-to-data/databases-and-datalakes/articles/postgresql-3-3-2021#1_How_do_I_install_Zoho_Databridge
                                                                                                            • Haven't used banking function for years and now want to reconcile and clean up my account

                                                                                                              I'm in the UK and have been using Zoho Books for my private mental health practice since 2018. Up until recently, I've entered everything manually and not reconciled any items with my bank account. Every year, I run a report for that year and use that
                                                                                                            • invalid element hsn_or_SAC

                                                                                                              Hi, I am trying to record expense in Zoho expense. when submitting I am facing this issue invalid "element hsn_or_SAC" please help me with this. Regards, Abdul Hameed M
                                                                                                            • Plug Sample #14: Automate Invoice Queries with SalesIQ Chatbot

                                                                                                              Hi everyone! We're back with a powerful plug to make your Zobot smarter and your support faster. This time, we're solving a common friction point for finance teams by giving customers quick access to their invoices. We are going to be automating invoice
                                                                                                            • Recap - Desk Story Series

                                                                                                              In our exploration of the Wheels of Ticketing Series, we kicked things off by diving into a fundamental element of Desk Ticketing: the fields. These fields serve as the building blocks that gather essential information about tickets, customers, organisations,
                                                                                                            • Tip of the Week #60– Reduce response time with shared inboxes!

                                                                                                              When customer messages are scattered across different platforms and team members aren't sure who's responding, delays are inevitable. Slow responses frustrate customers and create a poor experience for your brand, especially when expectations are high.
                                                                                                            • Hybrid project management in IT and software development services

                                                                                                              Project management models serve a wide range of audience, however the highest takers for Agile project management methodology are the IT and software services industry. The flexibility to develop and release software iteratively with continuous improvement,
                                                                                                            • Introducing Forms in Zoho Sheet

                                                                                                              We hereby bring you the power of ​forms in Zoho Sheet. ​Now, build and create your own customized forms using Zoho Sheet. Be it compiling a questionnaire or rolling out a survey, Zoho Sheet can do it all for you. Forms is an excellent feature that helps you collect information in the simplest of ways and having it in Zoho Sheet takes it a notch higher. Build Simple yet Powerful forms Building forms using Zoho Sheet is fairly simple. The exclusive 'Form' tab lets you create one quickly. Whether you
                                                                                                            • What's New in Zoho Inventory | January - March 2025

                                                                                                              Hello users, We are back with exciting new enhancements in Zoho Inventory to make managing your inventory smoother than ever! Check out the latest features for the first quarter of 2025. Watch out for this space for even more updates. Email Insights for
                                                                                                            • Overdue payments pending approval max

                                                                                                              I needed to validate update the email to pay for goods sold out, travel expenses and cars and vehicles for office, office supplies, properties purchase etc
                                                                                                            • How do I mass edit time entries?

                                                                                                              Since you can not filter or sort time entries by what has and has not been invoiced (you can only see the icon but not separate invoiced from non-invoiced), I would like all time to initially be entered in as un-billable and I can change to billable as I bill them. (since you can see this separation)  So my question is HOW do I mass edit this? Can it be done?
                                                                                                            • Zoho Booking Page Footer

                                                                                                              Is there any option available to add social media, like LinkedIn, on the Zoho Booking page?
                                                                                                            • Custom SMTP is now available in Zoho Sign

                                                                                                              Hi there! Want to send Zoho Sign emails from your organization's or personal email server? Look no further! Zoho Sign has introduced custom Simple Mail Transfer Protocol (SMTP) for Enterprise users across all data centers. By enabling custom SMTP, you
                                                                                                            • Help with SEO

                                                                                                              Hi There, I have recently published a site and added some Keywords in the SEO settings. Searching Google I currently don't find my site though. When do these settings take effect? In the SEO settings there is also a section "Sitemap" I can change settings for "frequency" and "Priority" What do these settings do? Kind regards
                                                                                                            • Report Level Button

                                                                                                              Currently I couldn't find a way to add a report level button I think currently we can only add buttons/actions for records, but having custom report level button would be really beneficial Usecases Click to import/sync Data from On Prem Systems Click
                                                                                                            • Create collection from start integer to end integer

                                                                                                              I want create some ticket number. Starts at 1 and end at 10. I want the result to be a string 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10. Trying something like this but need the correct way write the start and end part. start = 1; end = 3; sequence = List();
                                                                                                            • Importing Subform Data is Removed in Zoho Creator 6

                                                                                                              Previously It was possible to import Data to the Subform in Creator 5 This basic and mandatory Feature was completely removed from Creator 6 with no Timeline to add support for it How are we supposed to add our data if we want to use Creator? Manually?
                                                                                                            • Function #50: Send Mass emails to your customers

                                                                                                              Hello everyone, and welcome back to our series! We have reached a milestone of 50 Functions, which means that we have automated 50 different tasks in Zoho Books. Every Friday, we have shared a nifty function aimed at either automating a task or streamlining
                                                                                                            • Smart Document Automation:: From Zoho Projects to Zoho Writer – Merge, Edit, and Share

                                                                                                              Hello Everyone, A custom function is a software code that can be used to automate a process and this allows you to automate a notification, call a webhook, or perform logic immediately after a workflow rule is triggered. This feature helps to automate
                                                                                                            • Zoho Desk - Cannot Invite or Register New User

                                                                                                              Hi who may concern, we encountered a problem that we cannot invite user or the visitor cannot register for a user at all through our help center portal, with the snapshot shown as below and the attachement. It always pops up that "Sorry, Unable to process
                                                                                                            • How to remove an Instagram post on Zoho Social?

                                                                                                              Hi there, I wanted to delete yesterday's post on all social platform and managed to do so for Twitter and Facebook. I couldn't for Instagram as there is no option for delete. How can I delete successfully?
                                                                                                            • 【開催報告】東京 ユーザー交流会 Vol.2 2025/6/13 CRM Plus/Formsの活用におけるポイントやおすすめ機能を紹介

                                                                                                              ユーザーの皆さま、こんにちは。コミュニティチームの藤澤です。 6月13日(金)に東京で「ユーザー交流会 Vol.2」を開催し、16名の方にご参加いただきました。ご参加くださった皆さま、ありがとうございました。 この投稿では、当日のセッションの様子や使用した資料を紹介しています。残念ながら当日お越しいただけなかった方も、ぜひご覧ください。 ユーザー活用事例セッション:マーケ・営業・サポートをつないで顧客体験を向上させる!Zoho CRM Plusのおすすめサービス活用事例 Zoho Champion
                                                                                                            • No Real DANE Support

                                                                                                              The issue in https://help.zoho.com/portal/en/community/topic/will-zoho-implement-dane was closed today claiming DANE was implemented. You never implemented DANE correctly, even if you think you did. DANE requires DNSSEC to work properly, you never added
                                                                                                            • Applying Price List to All Customers

                                                                                                              I just created a new price list as we have several items that have volume price breaks. To create my price lists, I followed the instructions in this article: https://www.zoho.com/us/inventory/help/items/price-list.html When it comes to applying my price
                                                                                                            • What's wrong with this deluge code to create a Bill?

                                                                                                              I know that all the data in the map is correct. The line items are pulled directly from a purchase order. // Add the purchase order ID to the bill billPOIds.add(poID); // Retrieve and merge the line items poLineItems = purchaseOrder.get("line_items");
                                                                                                            • 2 Ideas, Clone timesheet entry from monthly view and Notes in Weekly view

                                                                                                              While i love timekeeping I am finding some things slow me down.  Slow to the point of considering writing my own API call to do this. It would be so useful to be able to clone a timesheet entry from the monthly view.  It is somewhat painful to have to
                                                                                                            • Zoho Workdrive API call to find public external Link for a Folder

                                                                                                              Hi all, I can create new external share links for a WD Folder using this API call https://workdrive.zoho.com.au/api/v1/links . This works fine, however if there is already an external link created for a given folder, trying to create a new one fails (which
                                                                                                            • Converting Sales Order to Purchase Order

                                                                                                              Hi All, Firstly, this code works to convert a sales order(SO) to a purchase order (PO) via a button, however I am running into an issue when I convert the SO where the values from the line items are not pulled across from the SO to the PO. The ones in
                                                                                                            • Accessing and Using Formula Field

                                                                                                              Hi There, I created a formula field called 'Day of the Week' in the Leads module that takes the record created time and transforms it into the day of the week. The formula field returns the correct values. However, I am unable to find or use the field
                                                                                                            • 🇺🇸 🇨🇦 🇲🇽 Ask the Experts: A Live Q&A Session

                                                                                                              Session Closed Thank you to everyone who participated in this Ask the Experts session! Your questions, insights, and engagement made it a valuable discussion for the entire Zoho Recruit community. The comment section is now closed, but feel free to browse
                                                                                                            • Request For Quotation (RFQ) module

                                                                                                              Hello, Do you have any plans to implement a RFQ module in to ZOHO Inventory? I would like to chose items that I require a price for, select a number of different suppliers to e-mail and have them submit there pricing online. I would then like to see a
                                                                                                            • Ability to Append or Prepend specific signer name field to all documents in an envelope

                                                                                                              We use templates regularly and have a need to be able to rename the individual pdf documents contained in an envelope, such that a signer's name is appended or prepended (e.g. Form1 - SignerName). This is critical for us, because of how we process documents
                                                                                                            • Next Page