Is it posible to have a backup of my project in an VPS and when its LaLiga time, which DNS to there?
I remember 10 yearsa go DNS propagation took 24h, not sure if switching DNS that much is good and feasible.
4 Replies
Support AI
According to the documentation, DNS propagation times have improved significantly since then. However, I couldn't find any specific information on the current DNS propagation times in the provided sources.
That being said, the documentation does mention that DNS-only load balancing relies on DNS resolvers respecting the short TTL (Time To Live) to re-query Cloudflare's DNS for an updated list of healthy addresses. This suggests that DNS propagation times are still a consideration when using DNS-only load balancing.
Regarding the feasibility of switching DNS frequently, the documentation notes that DNS-only load balancing performs slower failover and less accurate routing compared to proxied, layer 7 load balancing. This is because it relies on DNS resolvers and cache settings, which can lead to slower propagation times.
If you're concerned about DNS propagation times or the feasibility of switching DNS frequently, I recommend reviewing the documentation on DNS-only load balancing and considering the trade-offs between different load balancing modes.
Source: https://developers.cloudflare.com/learning-paths/load-balancing/planning/types-load-balancers/
Sources
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.
You can always switch the Proxy status to Unproxied (:grey:) / DNS-only during these matches.
You will obviously lose all kind of Cloudflare functionality (e.g. WAF, DDoS protection, ...), because you're then sending the traffic directly to your own server, where Cloudflare will only be functioning as your DNS provider during these windows, until you're again ready to switch back to Proxied (:cloudflare:).
If you can find some API (or alternatively, a calendar) that can give you the time fames for the matches, - then you can possibly use that data to be able to create a script, that will automate the switch between Unproxied (:grey:) / DNS-only and Proxied (:cloudflare:) through the use of the Cloudflare API.
The thing is my website is in Astro inside Cloudflare Pages, so not only orange switch is required, but a whole DNS change
These things took days beforem, but now I think in a couple minutes are propagated
I don't know how much you're actually depending on Cloudflare Pages, for your website.
However, if it can also run on other services, that are known for "static website hosting", such as e.g. GitHub Pages, GitLab Pages, or so, then you can change the DNS record during, so instead of running on Cloudflare Pages, you will change to GitHub/GitLab during these matches.
At that point, you will ideally be switching both the
CNAME target and the Proxy status, at the same time.
It can still take ages though, - but if you're keeping the TTL of your DNS record somewhat low,most resolvers should generally switch quickly.
Auto TTL in Cloudflare is 5 minutes.