Managing rules/caching for 300k domains?

I have 300k domains pointing to my AWS instance, Ideally I want to cover them under my CF account and caching + same rules but is there an easy way to do this rather than 1 by 1?
8 Replies
SuperHelpflare
SuperHelpflare2mo ago
Support AI
According to the documentation, there is a limitation on the number of domains you can add at a time. As stated in the source content (https://developers.cloudflare.com/fundamentals/manage-domains/add-multiple-sites-automation/): "There are limitations on the number of domains you can add at a time. If you attempt to add more than 50 domains at a time, any additional domains will be blocked until your current domains are active. After that, you cannot have more pending sites than active sites associated with your Cloudflare account." However, it does not provide a specific solution for bulk importing or adding a large number of domains at once. I would recommend reaching out to Cloudflare support for further assistance on this matter, as they may be able to provide a more tailored solution for your specific use case. Additionally, you may want to consider the following: * Review the documentation on adding multiple sites to Cloudflare (https://developers.cloudflare.com/fundamentals/manage-domains/add-multiple-sites-automation/) to understand the limitations and requirements. * Ensure that you have a valid credit card on file and that your account is in good standing. * Prepare a list of your domains and their corresponding DNS settings to facilitate the transfer process. Please note that I'm unable to provide a direct solution for bulk importing 300k domains, and it's recommended to reach out to Cloudflare support for further assistance.
This is an AI generated response, it may not be 100% accurate. Please validate the output. You can ask followups by replying to this message or mentioning me.
Hard@Work
Hard@Work2mo ago
Terraform maybe?
threekat
threekat2mo ago
Do you own the domains or are they like a SaaS thing I use the SaaS offering by CF personally and it really, really helps
threekat
threekat2mo ago
Cloudflare Docs
Cloudflare for SaaS
Cloudflare for SaaS allows you to extend the security and performance benefits of Cloudflare's network to your customers via their own custom or vanity domains.
Braunson
BraunsonOP2mo ago
Domains are owned not a SaaS.
threekat
threekat2mo ago
Gotcha, I only have 100 but I used https://dnscontrol.org/ when migrating everything. You can programatically manage it similar to terraform
Braunson
BraunsonOP2mo ago
I had looked at this doc for adding multiple sites automation but it's limited to 50 at a time and until they're processed.
Hard@Work
Hard@Work2mo ago
I'm not sure if that limit can be raised, but you may be able to check with Support if they are able?

Did you find this page helpful?