Cloudflare Integration
EasyDMARC’s integration with Cloudflare is aimed for MSP and Enterprise customers to efficiently deploy and manage security solutions across multiple clients in bulk. It is beneficial for those who need to enforce consistent security policies and activate services across their entire domain portfolio with minimal manual effort and risk of error.
To enable EasyDMARC to manage DNS records for your email security protocols (DMARC, SPF, etc.) on your Cloudflare-hosted domains, you need to provide us with an API Token from your Cloudflare account. This is a requirement by Cloudflare to ensure you maintain control over your account access. Follow the steps below to generate these credentials.
Please note that your Cloudflare API Token will only be shown once during this process, so be sure to copy it immediately.
Steps for API Token Generation:
1. Log in to your Cloudflare account at https://dash.cloudflare.com.
2. In the top navigation bar, click on your user icon and select 'My Profile'.
3. On the 'My Profile' page, select 'API Tokens' from the left-hand menu.
4. Click the 'Create Token' button.
5. Under the 'Custom tokens' section, click 'Get started'.
6. Enter a descriptive name for the token, for example, 'EasyDMARC DNS Integration'.
7. Under 'Permissions', configure the following (you will need to click 'Add more' for the second permission):
○ First Permission: Zone | DNS | Edit
○ Second Permission: Zone | Zone | Read
8. Under 'Zone Resources', choose how to scope this token's access:
○ Recommended for specific domains: Select Include | Specific zone | then choose the domain(s) you wish EasyDMARC to manage from the dropdown list.
○ For all domains: Select Include | All zones. Note: This will grant EasyDMARC the above permissions for all current and future domains in your Cloudflare account.
9. (Optional) You can set a 'TTL' (Time To Live) for how long the token is valid, or leave it for continuous access.
10. Click 'Continue to summary'.
11. Review the token summary to ensure the permissions and resources are correct, then click 'Create Token'.
12. Cloudflare will now display your API token. This is the only time the full token will be visible. Click the 'Copy' button to copy it to your clipboard.
13. Return to this EasyDMARC setup page.
14. Paste the copied API token into the 'Cloudflare API Token' field.
15. Enter the primary domain name you want to manage (e.g., yourcompany.com) in the 'Domain Name' field.
16. Click 'Connect to Cloudflare' (or a similarly named button).
Note: You can configure multiple accounts for every DNS provider we are supporting. The integration page will show an overview of all accounts that are configured with EasyDMARC.
In case of any questions feel free to reach out to EasyDMARC's Support team!