Is there a way for us to get unlimited DNS records?
As per https://discord.com/channels/595317990191398933/1230496166513217536/1230496166513217536
Free plan 1000
Paid plan 3500
And specifically I want to use "Worker domains". Because I want to bind all of those domains to workers. https://developers.cloudflare.com/api/operations/worker-domain-attach-to-domain
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
12 Replies
Are you talking about Worker Custom Domains overall, or DNS records per zone?
for DNS Records, the only way would be Enterprise which can have millions: https://blog.cloudflare.com/foundation-dns-launch
The Cloudflare Blog
Improving authoritative DNS with the official release of Foundation...
We are launching Foundation DNS – our new enterprise-grade authoritative DNS offering. As our new enterprise authoritative DNS offering, Foundation DNS was designed to enhance the reliability, security, flexibility, and analytics of our authoritative DNS service.
Worker Custom Domains have even lower limits, can only have 100 per domain I believe
This is what I want to do
Attach, let's say 3600, domains to a worker
3600 different domains right?
yep of course different
domain-1.mysite.com
domain-2.mysite.com
....
domain-3600.mysite.com
All of them go to some worker
Then you want to use CF for SaaS: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/
With your worker as the origin: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/worker-as-origin/
Same thing Shopify uses for Custom Domains, as an example
You get 100 included for free and then $0.10 per hostname per month
Well I mean different actual domains, like customer domains
the example you gave is subdomains
CF For SaaS is like:
each of your customers, ex:
customer.com would CNAME to worker.yoursite.com
If you just wanted a bunch of hostnames/subdomains on your own domain to go to a single worker, you could just use a wildcard dns record and a wildcard route
perhaps it'd be easier if you explained what exactly you're trying to do
Check this out https://slidde.co/
slidde - Build responsive websites for free, just like making a slide
slidde - Build responsive websites for free, just like making a slide
ah ok, that's really simple then, just a wildcard dns record:
AAAA
*
100::
Proxied
and then a wildcard worker route, you could do
*.slidde.co/*
Then if you need specific subdomains to not go to that worker, you could make exceptions with worker routes with the Service of None, like www.slidde.co/*
, Service: NoneOh I never thought this way! Let me try and I'll get back to you!
yep, to clarify though you want Worker Routes, not Worker Custom Domains. You can see Worker Routes under your website in the Cloudflare dashboard, under your domain, under the section "Worker Routes"
Magic Link: https://dash.cloudflare.com/?to=/:account/:zone/workers
I need sometime to read lol. Kudos!!
https://thank-you-chaika.slidde.co/ @Chaika here's what I ended up with (after a few NBA playoff games) lol