Kai
Kai
Explore posts from servers
CDCloudflare Developers
Created by Kai on 1/22/2024 in #general-help
Reverse DNS Setup
👋 Hey just noticed CF DNS actually supports reverse zones: https://developers.cloudflare.com/dns/additional-options/reverse-zones/ I set it up, and trying to create the domain object @ RIPE but failing with this confusing error: Out-of-bailiwick name server listed at parent with glue record has a mismatch between the glue at the parent (jason.ns.cloudflare.com./127.0.0.1; jason.ns.cloudflare.com./::1) and any equivalent address record found in authoritative zone (jason.ns.cloudflare.com./108.162.193.179; jason.ns.cloudflare.com./172.64.33.179; jason.ns.cloudflare.com./173.245.59.179; jason.ns.cloudflare.com./2606:4700:58::adf5:3bb3; jason.ns.cloudflare.com./2803:f800:50::6ca2:c1b3; jason.ns.cloudflare.com./2a06:98c1:50::ac40:21b3). (for both jason & nena) This is pretty confusing. Not sure I'm reading it right, but if I understand this correctly looking up AAAA jason.ns.cloudflare.com via jason.ns.cloudflare.com will yield ::1 instead of the authorative/upstream 2606:4700:58::adf5:3bb3 (and other options)? Not sure if this is a configuration issue on my side or what's going on. Never dealt with rDNS 😅
1 replies
CDCloudflare Developers
Created by Kai on 6/11/2023 in #general-help
How to setup root Hostname redirect
I have several Subdomains that run workers or pages, and want to redirect only the root Hostname to redirect to another website. I'm not so sure how to setup this, I guess a redirect rule? But that doesn't work without proxied DNS?
8 replies
CDCloudflare Developers
Created by Kai on 2/6/2023 in #workers-help
waitUntil multiple
What happens when I waitUntil multiple promises? Is this safe? What's the execution order?
10 replies
CDCloudflare Developers
Created by Kai on 2/3/2023 in #workers-help
Implementing complex rate-limiting
I have an upstream service I want to hammer with as many requests as I can get. But, unsurprisingly, they have rate limiting in place. I have recently implemented this in DOs, blocking concurrency on each DO, but this is incredibly expensive (10d ~ $120) as the DO is permanently active and making requests. Is there any smarter way to implement stateful rate limiting? I'm already using queues to make the requests, but not sure if there's a way to get state as part of queues.
8 replies